Index: src/mips/lithium-mips.h |
diff --git a/src/mips/lithium-mips.h b/src/mips/lithium-mips.h |
index 5678bb7505fa51f39d3209d2aec8cc3a78c844c2..8c82a9d7cbbcaaadfacb0ccd45a56784dd080d33 100644 |
--- a/src/mips/lithium-mips.h |
+++ b/src/mips/lithium-mips.h |
@@ -72,6 +72,7 @@ class LCodeGen; |
V(ClampIToUint8) \ |
V(ClampTToUint8) \ |
V(ClassOfTestAndBranch) \ |
+ V(CompareMinusZeroAndBranch) \ |
V(CompareNumericAndBranch) \ |
V(CmpObjectEqAndBranch) \ |
V(CmpHoleAndBranch) \ |
@@ -923,6 +924,22 @@ class LCmpHoleAndBranch V8_FINAL : public LControlInstruction<1, 0> { |
}; |
+class LCompareMinusZeroAndBranch V8_FINAL : public LControlInstruction<1, 1> { |
+ public: |
+ LCompareMinusZeroAndBranch(LOperand* value, LOperand* temp) { |
+ inputs_[0] = value; |
+ temps_[0] = temp; |
+ } |
+ |
+ LOperand* value() { return inputs_[0]; } |
+ LOperand* temp() { return temps_[0]; } |
+ |
+ DECLARE_CONCRETE_INSTRUCTION(CompareMinusZeroAndBranch, |
+ "cmp-minus-zero-and-branch") |
+ DECLARE_HYDROGEN_ACCESSOR(CompareMinusZeroAndBranch) |
+}; |
+ |
+ |
class LIsObjectAndBranch V8_FINAL : public LControlInstruction<1, 1> { |
public: |
LIsObjectAndBranch(LOperand* value, LOperand* temp) { |