revm_interpreter::opcode

Function immediate_size

Source
pub const fn immediate_size(op: OpCodeInfo, n: u8) -> OpCodeInfo
Expand description

Sets the immediate bytes number.

RJUMPV is special case where the bytes len is depending on bytecode value, for RJUMPV size will be set to one byte while minimum is two.