minor changes

This commit is contained in:
2026-04-20 15:28:51 +08:00
parent 520bb7d75e
commit 581c333070
3 changed files with 7 additions and 8 deletions
+1 -2
View File
@@ -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)
}