Skip to main content

rv_gas_meta

Function rv_gas_meta 

Source
pub fn rv_gas_meta(inst: &Inst) -> RvGasMeta
Expand description

Compute the crate::predecode::RvGasMeta for an Inst. Called once per instruction at decode time; the result is cached in crate::predecode::RvPreDecodedInst::gas_meta so the gas hot path doesn’t have to re-match the variant.