Skip to content

Commit 9bc3dbe

Browse files
committed
local variable through ep experiment
vibe a b Revert "a" fix call in jit entry (
1 parent d7ef972 commit 9bc3dbe

2 files changed

Lines changed: 64 additions & 228 deletions

File tree

zjit/src/backend/lir.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2648,12 +2648,12 @@ impl Assembler
26482648
}
26492649
}
26502650

2651-
if !locals.is_empty() {
2652-
asm_comment!(asm, "write locals: {}", join_opnds(&locals, ", "));
2653-
for (idx, &opnd) in locals.iter().enumerate() {
2654-
asm.store(Opnd::mem(64, SP, (-local_size_and_idx_to_ep_offset(locals.len(), idx) - 1) * SIZEOF_VALUE_I32), opnd);
2655-
}
2656-
}
2651+
// if !locals.is_empty() {
2652+
// asm_comment!(asm, "write locals: {}", join_opnds(&locals, ", "));
2653+
// for (idx, &opnd) in locals.iter().enumerate() {
2654+
// asm.store(Opnd::mem(64, SP, (-local_size_and_idx_to_ep_offset(locals.len(), idx) - 1) * SIZEOF_VALUE_I32), opnd);
2655+
// }
2656+
// }
26572657
}
26582658

26592659
/// Tear down the JIT frame and return to the interpreter.

0 commit comments

Comments
 (0)