@@ -188,7 +188,7 @@ use vm::{Store, VmStatus};
188188// ... create vm ...
189189let mut store = Store :: from_vm (vm );
190190store . set_fuel (10_000 );
191- store . set_fuel_check_interval (1 )? ; // exact mode: check every instruction/trace step
191+ store . set_fuel_check_interval (1 )? ; // exact mode: check every instruction/trace op
192192let checkpoint = store . checkpoint ();
193193
194194loop {
@@ -215,7 +215,7 @@ Fuel charging semantics:
215215 Chunk size = ` fuel_check_interval ` .
216216 Default interval is ` 1 ` (exact mode).
217217- The interpreter applies fuel checks in the VM loop before opcode fetch/execute.
218- - Trace-JIT execution applies the same cadence before each ` TraceStep ` .
218+ - Trace-JIT execution applies the same cadence against recorded trace ops/blocks .
219219- When fuel metering is enabled, native JIT execution injects fuel checks in generated machine
220220 code at the configured check cadence.
221221- With interval ` > 1 ` , out-of-fuel detection is coarse-grained: execution may run up to
@@ -456,8 +456,8 @@ The end-to-end stack is split into layers. Not every entrypoint uses every layer
4564561 . Type-consistency validation on legalized IR (for example rejecting known ` if ` /` else ` branch mismatches)
4574571 . Lifetime/liveness lowering plus type metadata collection
4584581 . Bytecode backend (` Compiler ` + ` Assembler ` -> ` Program ` ) executed by VM
459- 1 . Trace-JIT IR recording (` JitTrace ` + ` TraceStep ` ) using TraceStep IR
460- 1 . Native machine code emission and execution
459+ 1 . Trace-JIT SSA recording (` JitTrace ` + ` SsaTrace ` ) with symbolic stack/local state
460+ 1 . Native machine code emission and execution from SSA traces
461461
462462#### Type Metadata and Inference
463463
@@ -582,8 +582,8 @@ At runtime, `call` is bridged through `Vm::execute_host_call`:
582582
583583- builtin call indices dispatch to ` vm/builtin_runtime.rs `
584584- non-builtin indices dispatch to bound host imports
585- - trace-JIT records ` TraceStep::Call ` , and native traces bridge call steps through runtime helpers
586- (with builtin fast paths where available) , preserving interpreter semantics
585+ - trace-JIT records supported hot paths into SSA and falls back to the interpreter for call-heavy
586+ or otherwise unsupported traces , preserving interpreter semantics
587587
588588#### Current Compiler Subset Limitations
589589
0 commit comments