revm_interpreter::interpreter::analysis

Function to_analysed

Source
pub fn to_analysed(bytecode: Bytecode) -> Bytecode
Expand description

Perform bytecode analysis.

The analysis finds and caches valid jump destinations for later execution as an optimization step.

If the bytecode is already analyzed, it is returned as-is.