diff options
-rw-r--r-- | src/lj_opt_split.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lj_opt_split.c b/src/lj_opt_split.c index b0da7f3a..186dc8c0 100644 --- a/src/lj_opt_split.c +++ b/src/lj_opt_split.c | |||
@@ -683,6 +683,8 @@ static int split_needsplit(jit_State *J) | |||
683 | for (ref = J->chain[IR_SLOAD]; ref; ref = IR(ref)->prev) | 683 | for (ref = J->chain[IR_SLOAD]; ref; ref = IR(ref)->prev) |
684 | if ((IR(ref)->op2 & IRSLOAD_CONVERT)) | 684 | if ((IR(ref)->op2 & IRSLOAD_CONVERT)) |
685 | return 1; | 685 | return 1; |
686 | if (J->chain[IR_TOBIT]) | ||
687 | return 1; | ||
686 | } | 688 | } |
687 | for (ref = J->chain[IR_CONV]; ref; ref = IR(ref)->prev) { | 689 | for (ref = J->chain[IR_CONV]; ref; ref = IR(ref)->prev) { |
688 | IRType st = (IR(ref)->op2 & IRCONV_SRCMASK); | 690 | IRType st = (IR(ref)->op2 & IRCONV_SRCMASK); |