Skip to content

Commit cf22b78

Browse files
committed
More jit fixes
1 parent 358d466 commit cf22b78

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/jit/tests/common.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,8 +199,8 @@ impl StackMachine {
199199
Instruction::LoadName { namei } => self
200200
.stack
201201
.push(StackValue::String(names[namei.get(arg) as usize].clone())),
202-
Instruction::StoreName(idx) => {
203-
let idx = idx.get(arg);
202+
Instruction::StoreName { namei } => {
203+
let idx = namei.get(arg);
204204
self.locals
205205
.insert(names[idx as usize].clone(), self.stack.pop().unwrap());
206206
}

0 commit comments

Comments
 (0)