Index: src/ia32/lithium-ia32.cc |
diff --git a/src/ia32/lithium-ia32.cc b/src/ia32/lithium-ia32.cc |
index 03c4041cc5dea96bf011d84a3afd10db2a8c631f..2f9f4bcd04995a109ec147aeb840de979a23719e 100644 |
--- a/src/ia32/lithium-ia32.cc |
+++ b/src/ia32/lithium-ia32.cc |
@@ -1936,8 +1936,7 @@ LInstruction* LChunkBuilder::DoChange(HChange* instr) { |
if (val->type().IsSmi()) { |
return DefineSameAsFirst(new(zone()) LDummyUse(value)); |
} |
- return AssignEnvironment( |
- DefineSameAsFirst(new(zone()) LCheckSmiAndReturn(value))); |
+ return AssignEnvironment(DefineSameAsFirst(new(zone()) LCheckSmi(value))); |
} else { |
ASSERT(to.IsInteger32()); |
if (instr->value()->type().IsSmi()) { |
@@ -2049,12 +2048,6 @@ LInstruction* LChunkBuilder::DoCheckPrototypeMaps(HCheckPrototypeMaps* instr) { |
} |
-LInstruction* LChunkBuilder::DoCheckSmi(HCheckSmi* instr) { |
- LOperand* value = UseAtStart(instr->value()); |
- return AssignEnvironment(new(zone()) LCheckSmi(value)); |
-} |
- |
- |
LInstruction* LChunkBuilder::DoCheckFunction(HCheckFunction* instr) { |
// If the target is in new space, we'll emit a global cell compare and so |
// want the value in a register. If the target gets promoted before we |