| Index: src/hydrogen-instructions.h
|
| diff --git a/src/hydrogen-instructions.h b/src/hydrogen-instructions.h
|
| index a0d932fbd24311f8eeb613edc706e6002cadd60b..9f5170ca2bcc9e5f9d7dcdd9d5fccdbf1f2eb910 100644
|
| --- a/src/hydrogen-instructions.h
|
| +++ b/src/hydrogen-instructions.h
|
| @@ -107,6 +107,7 @@ class LChunkBuilder;
|
| V(EnterInlined) \
|
| V(FixedArrayLength) \
|
| V(FunctionLiteral) \
|
| + V(GetCachedArrayIndex) \
|
| V(GlobalObject) \
|
| V(GlobalReceiver) \
|
| V(Goto) \
|
| @@ -2331,6 +2332,17 @@ class HHasCachedArrayIndex: public HUnaryPredicate {
|
| };
|
|
|
|
|
| +class HGetCachedArrayIndex: public HUnaryPredicate {
|
| + public:
|
| + explicit HGetCachedArrayIndex(HValue* value) : HUnaryPredicate(value) { }
|
| +
|
| + DECLARE_CONCRETE_INSTRUCTION(GetCachedArrayIndex, "get_cached_array_index")
|
| +
|
| + protected:
|
| + virtual bool DataEquals(HValue* other) const { return true; }
|
| +};
|
| +
|
| +
|
| class HClassOfTest: public HUnaryPredicate {
|
| public:
|
| HClassOfTest(HValue* value, Handle<String> class_name)
|
|
|