Index: src/mips/lithium-mips.cc |
diff --git a/src/mips/lithium-mips.cc b/src/mips/lithium-mips.cc |
index 943d9476f43daca9a890f16371662c5be897a591..70dd60d6560cdb6a6938ff709130a72c0c00c101 100644 |
--- a/src/mips/lithium-mips.cc |
+++ b/src/mips/lithium-mips.cc |
@@ -1703,6 +1703,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* temp = TempRegister(); |