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