pub fn invoke_sub_vm_gas(nub: &Nub, top: &SubVmTop, depth: u64) -> (u64, u64)Expand description
Like invoke_sub_vm but returns (return_value, gas_used) after asserting
a clean trampoline halt. Used by the sub_vm_gas_parity test to check the
recompiler’s category-#3 charge is identical per recursion level (gas affine
in depth — a multi-frame determinism guard).