File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments