Skip to main content

Module predecoded

Module predecoded 

Source
Expand description

Pre-decoded PVM instruction representation, shared between the pure execution-engine gas accounting (here in javm-exec) and the recompiler crate that populates the slice via its predecode pass.

The struct is a plain data tuple of opcode + decoded args + PC metadata. It carries no recompiler-internal state, so it lives here so that gas_cost.rs can reference it without javm-exec depending on the recompiler crate.

Structsยง

PreDecodedInst
Pre-decoded PVM instruction. Stores everything the codegen and the gas simulator need per instruction.