Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Takashi Kokubun <[email protected]>
  • Loading branch information
XrXr and k0kubun authored Aug 22, 2023
1 parent cd1cb87 commit 57c2eff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions yjit/src/codegen.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5167,7 +5167,7 @@ fn gen_push_frame(
SpecVal::AlreadySet => 0.into(), // unused
};
if let SpecVal::AlreadySet = frame.specval {
asm.comment("specval should been set");
asm.comment("specval should have been set");
} else {
asm.store(Opnd::mem(64, sp, SIZEOF_VALUE_I32 * -2), specval);
}
Expand Down Expand Up @@ -6021,7 +6021,7 @@ fn gen_send_iseq(
asm,
ocb,
SEND_MAX_CHAIN_DEPTH,
Counter::send_block_arg_type,
Counter::guard_send_block_arg_type,
);

let proc = asm.stack_pop(1);
Expand Down

0 comments on commit 57c2eff

Please sign in to comment.