There was an error while loading. Please reload this page.
1 parent 683dd92 commit 43c70a9Copy full SHA for 43c70a9
1 file changed
yjit/src/codegen.rs
@@ -4315,11 +4315,11 @@ fn gen_opt_ary_freeze(
4315
return None;
4316
}
4317
4318
- let str = jit.get_arg(0);
+ let ary = jit.get_arg(0);
4319
4320
// Push the return value onto the stack
4321
let stack_ret = asm.stack_push(Type::CArray);
4322
- asm.mov(stack_ret, str.into());
+ asm.mov(stack_ret, ary.into());
4323
4324
Some(KeepCompiling)
4325
@@ -4332,11 +4332,11 @@ fn gen_opt_hash_freeze(
4332
4333
4334
4335
+ let hash = jit.get_arg(0);
4336
4337
4338
let stack_ret = asm.stack_push(Type::CHash);
4339
+ asm.mov(stack_ret, hash.into());
4340
4341
4342
0 commit comments