| Index: src/arm64/lithium-arm64.cc
|
| diff --git a/src/arm64/lithium-arm64.cc b/src/arm64/lithium-arm64.cc
|
| index 0a522a5f551b64f627396ccf63d24c4688974173..d58e3cc9916bf01890c550f2b581ae158f17c71c 100644
|
| --- a/src/arm64/lithium-arm64.cc
|
| +++ b/src/arm64/lithium-arm64.cc
|
| @@ -1171,9 +1171,7 @@ LInstruction* LChunkBuilder::DoChange(HChange* instr) {
|
|
|
| LInstruction* LChunkBuilder::DoCheckValue(HCheckValue* instr) {
|
| LOperand* value = UseRegisterAtStart(instr->value());
|
| - LInstruction* result = new(zone()) LCheckNonSmi(value);
|
| - if (!instr->value()->IsHeapObject()) result = AssignEnvironment(result);
|
| - return result;
|
| + return AssignEnvironment(new(zone()) LCheckValue(value));
|
| }
|
|
|
|
|
|
|