minor changes
This commit is contained in:
@@ -288,8 +288,7 @@ pub(crate) fn run_tailcall<'gc, C: VmContext>(
|
||||
bc: &[u8],
|
||||
pc: u32,
|
||||
) -> TailResult {
|
||||
const FUEL: u32 = 1024;
|
||||
let table = &DispatchTable::<'gc, C>::NEW;
|
||||
let op = bc[pc as usize] as usize;
|
||||
table.0[op](vm, mc, ctx, bc, table, pc, FUEL)
|
||||
table.0[op](vm, mc, ctx, bc, table, pc, Vm::DEFAULT_FUEL_AMOUNT)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user