Index: src/mips/lithium-mips.h |
diff --git a/src/mips/lithium-mips.h b/src/mips/lithium-mips.h |
index 14ac0a48232468a8a0ddf1f0779ee15573af1533..8133c31a0a5df75b5cce44a264fde6d67f113456 100644 |
--- a/src/mips/lithium-mips.h |
+++ b/src/mips/lithium-mips.h |
@@ -26,6 +26,7 @@ class LCodeGen; |
V(ArgumentsLength) \ |
V(ArithmeticD) \ |
V(ArithmeticT) \ |
+ V(ArrayShift) \ |
V(BitI) \ |
V(BoundsCheck) \ |
V(Branch) \ |
@@ -2236,6 +2237,21 @@ class LTransitionElementsKind V8_FINAL : public LTemplateInstruction<0, 2, 1> { |
}; |
+class LArrayShift V8_FINAL : public LTemplateInstruction<1, 2, 0> { |
+ public: |
+ LArrayShift(LOperand* context, LOperand* object) { |
+ inputs_[0] = context; |
+ inputs_[1] = object; |
+ } |
+ |
+ LOperand* context() const { return inputs_[0]; } |
+ LOperand* object() const { return inputs_[1]; } |
+ |
+ DECLARE_CONCRETE_INSTRUCTION(ArrayShift, "array-shift") |
+ DECLARE_HYDROGEN_ACCESSOR(ArrayShift) |
+}; |
+ |
+ |
class LTrapAllocationMemento V8_FINAL : public LTemplateInstruction<0, 1, 1> { |
public: |
LTrapAllocationMemento(LOperand* object, |