Index: src/arm/lithium-arm.h |
diff --git a/src/arm/lithium-arm.h b/src/arm/lithium-arm.h |
index 8d2573d96c76a0bcfbdf82e23e3316cd6856b1e0..57338f16d5557cca4f7d8fe08fd6d29bca805b1e 100644 |
--- a/src/arm/lithium-arm.h |
+++ b/src/arm/lithium-arm.h |
@@ -94,6 +94,7 @@ class LCodeGen; |
V(FixedArrayLength) \ |
V(FunctionLiteral) \ |
V(Gap) \ |
+ V(GetCachedArrayIndex) \ |
V(GlobalObject) \ |
V(GlobalReceiver) \ |
V(Goto) \ |
@@ -739,6 +740,17 @@ class LHasCachedArrayIndex: public LTemplateInstruction<1, 1, 0> { |
}; |
+class LGetCachedArrayIndex: public LTemplateInstruction<1, 1, 0> { |
+ public: |
+ explicit LGetCachedArrayIndex(LOperand* value) { |
+ inputs_[0] = value; |
+ } |
+ |
+ DECLARE_CONCRETE_INSTRUCTION(GetCachedArrayIndex, "get-cached-array-index") |
+ DECLARE_HYDROGEN_ACCESSOR(GetCachedArrayIndex) |
+}; |
+ |
+ |
class LHasCachedArrayIndexAndBranch: public LControlInstruction<1, 0> { |
public: |
explicit LHasCachedArrayIndexAndBranch(LOperand* value) { |