Index: src/ia32/lithium-ia32.h |
=================================================================== |
--- src/ia32/lithium-ia32.h (revision 7028) |
+++ src/ia32/lithium-ia32.h (working copy) |
@@ -92,6 +92,7 @@ |
V(FixedArrayLength) \ |
V(FunctionLiteral) \ |
V(Gap) \ |
+ V(GetCachedArrayIndex) \ |
V(GlobalObject) \ |
V(GlobalReceiver) \ |
V(Goto) \ |
@@ -743,6 +744,17 @@ |
}; |
+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 LHasCachedArrayIndex: public LTemplateInstruction<1, 1, 0> { |
public: |
explicit LHasCachedArrayIndex(LOperand* value) { |