| Index: src/arm/lithium-arm.cc
|
| diff --git a/src/arm/lithium-arm.cc b/src/arm/lithium-arm.cc
|
| index ff6be8f62a1048bfc39bd6db7032a0b7c8ee94c0..3f30902e24c282ab141b6c44ab515ac1d2db9849 100644
|
| --- a/src/arm/lithium-arm.cc
|
| +++ b/src/arm/lithium-arm.cc
|
| @@ -1905,8 +1905,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;
|
| @@ -2013,12 +2012,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));
|
|
|