mirror of
https://github.com/pjh456/OxideJS.git
synced 2026-10-23 18:21:13 +08:00
feat: 循环 let/const 每迭代绑定(MAKE_CELL_FRESH + 解构捕获修复)
This commit is contained in:
@@ -264,7 +264,7 @@ fn rewrite_inst(
|
||||
inst.op
|
||||
);
|
||||
}
|
||||
OpCode::MAKE_CELL | OpCode::CELL_GET | OpCode::CELL_SET | OpCode::STORE_UPVALUE => {
|
||||
OpCode::MAKE_CELL | OpCode::MAKE_CELL_FRESH | OpCode::CELL_GET | OpCode::CELL_SET | OpCode::STORE_UPVALUE => {
|
||||
debug_assert!(
|
||||
matches!(b, Operand::Imm(_) | Operand::None),
|
||||
"{}: b 槽是 imm16 编码位,不得为 Reg",
|
||||
|
||||
Reference in New Issue
Block a user