Skip to content

Commit

Permalink
Update yjit/src/codegen.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Alan Wu <XrXr@users.noreply.github.com>
  • Loading branch information
maximecb and XrXr authored Aug 11, 2023
1 parent 8c9ae70 commit a47fbc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yjit/src/codegen.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3373,7 +3373,7 @@ fn gen_opt_mult(
};

if two_fixnums {
if !assume_bop_not_redefined(jit, asm, ocb, INTEGER_REDEFINED_OP_FLAG, BOP_PLUS) {
if !assume_bop_not_redefined(jit, asm, ocb, INTEGER_REDEFINED_OP_FLAG, BOP_MULT) {
return None;
}

Expand Down

0 comments on commit a47fbc0

Please sign in to comment.