phase_9_79b_1: Add Unified Registry IDs + Builder Slotting\n- MIR BoxCall carries optional method_id (slot)\n- Slot registry with universal slots [0..3]\n- Builder resolves method_id when receiver type known\n- Printer shows method_id; backends updated\n- Update CURRENT_TASK + MIR spec note
This commit is contained in:
@ -404,7 +404,7 @@ impl WasmCodegen {
|
||||
},
|
||||
|
||||
// Phase 9.77: BoxCall Implementation - Critical Box method calls
|
||||
MirInstruction::BoxCall { dst, box_val, method, args, effects: _ } => {
|
||||
MirInstruction::BoxCall { dst, box_val, method, args, effects: _ , .. } => {
|
||||
self.generate_box_call(*dst, *box_val, method, args)
|
||||
},
|
||||
|
||||
@ -713,4 +713,4 @@ mod tests {
|
||||
let result = codegen.generate_const(dst, &ConstValue::Integer(42));
|
||||
assert!(result.is_err()); // Should fail without local mapping
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user