Skip to content

Commit b6babd9

Browse files
authored
ZJIT: Typofix (ruby#13665)
1 parent d31d62d commit b6babd9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

zjit/src/codegen.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,7 @@ fn gen_entry_prologue(asm: &mut Assembler, iseq: IseqPtr) {
414414
asm.cpush(SP);
415415
}
416416

417-
// EC and CFP are pased as arguments
417+
// EC and CFP are passed as arguments
418418
asm.mov(EC, C_ARG_OPNDS[0]);
419419
asm.mov(CFP, C_ARG_OPNDS[1]);
420420

zjit/src/hir.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3128,7 +3128,7 @@ mod tests {
31283128
let iseq = crate::cruby::with_rubyvm(|| get_method_iseq("self", method));
31293129
unsafe { crate::cruby::rb_zjit_profile_disable(iseq) };
31303130
let result = iseq_to_hir(iseq);
3131-
assert!(result.is_err(), "Expected an error but succesfully compiled to HIR: {}", FunctionPrinter::without_snapshot(&result.unwrap()));
3131+
assert!(result.is_err(), "Expected an error but successfully compiled to HIR: {}", FunctionPrinter::without_snapshot(&result.unwrap()));
31323132
assert_eq!(result.unwrap_err(), reason);
31333133
}
31343134

0 commit comments

Comments
 (0)