| Index: src/mips/lithium-mips.cc
|
| diff --git a/src/mips/lithium-mips.cc b/src/mips/lithium-mips.cc
|
| index 49e23d7d26f32e6a1d17b504cba652090b050d7a..22adc2a2b4d263d8ed399a5343b0422446c5c4c1 100644
|
| --- a/src/mips/lithium-mips.cc
|
| +++ b/src/mips/lithium-mips.cc
|
| @@ -1778,8 +1778,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());
|
| LOperand* value = NULL;
|
| @@ -1886,12 +1885,6 @@ LInstruction* LChunkBuilder::DoCheckPrototypeMaps(HCheckPrototypeMaps* instr) {
|
| }
|
|
|
|
|
| -LInstruction* LChunkBuilder::DoCheckSmi(HCheckSmi* instr) {
|
| - LOperand* value = UseRegisterAtStart(instr->value());
|
| - return AssignEnvironment(new(zone()) LCheckSmi(value));
|
| -}
|
| -
|
| -
|
| LInstruction* LChunkBuilder::DoCheckFunction(HCheckFunction* instr) {
|
| LOperand* value = UseRegisterAtStart(instr->value());
|
| return AssignEnvironment(new(zone()) LCheckFunction(value));
|
|
|