Index: src/arm/lithium-arm.cc |
=================================================================== |
--- src/arm/lithium-arm.cc (revision 7203) |
+++ src/arm/lithium-arm.cc (working copy) |
@@ -1667,7 +1667,7 @@ |
LInstruction* LChunkBuilder::DoCheckNonSmi(HCheckNonSmi* instr) { |
LOperand* value = UseRegisterAtStart(instr->value()); |
- return AssignEnvironment(new LCheckSmi(value, eq)); |
+ return AssignEnvironment(new LCheckNonSmi(value)); |
} |
@@ -1688,7 +1688,7 @@ |
LInstruction* LChunkBuilder::DoCheckSmi(HCheckSmi* instr) { |
LOperand* value = UseRegisterAtStart(instr->value()); |
- return AssignEnvironment(new LCheckSmi(value, ne)); |
+ return AssignEnvironment(new LCheckSmi(value)); |
} |