Index: src/arm/lithium-arm.cc |
diff --git a/src/arm/lithium-arm.cc b/src/arm/lithium-arm.cc |
index 5fb0e533b86848dafd045a68944039e0fca2eb0b..4efd7b6e62b42d4ded34b9ca241aadce80f02bb3 100644 |
--- a/src/arm/lithium-arm.cc |
+++ b/src/arm/lithium-arm.cc |
@@ -1783,6 +1783,16 @@ LInstruction* LChunkBuilder::DoCompareHoleAndBranch( |
} |
+LInstruction* LChunkBuilder::DoCompareMinusZeroAndBranch( |
+ HCompareMinusZeroAndBranch* instr) { |
+ LInstruction* goto_instr = CheckElideControlInstruction(instr); |
+ if (goto_instr != NULL) return goto_instr; |
+ LOperand* value = UseRegister(instr->value()); |
+ LOperand* scratch = TempRegister(); |
+ return new(zone()) LCompareMinusZeroAndBranch(value, scratch); |
+} |
+ |
+ |
LInstruction* LChunkBuilder::DoIsObjectAndBranch(HIsObjectAndBranch* instr) { |
ASSERT(instr->value()->representation().IsTagged()); |
LOperand* value = UseRegisterAtStart(instr->value()); |