| Index: src/hydrogen-instructions.h
|
| ===================================================================
|
| --- src/hydrogen-instructions.h (revision 8431)
|
| +++ src/hydrogen-instructions.h (working copy)
|
| @@ -2762,10 +2762,17 @@
|
| };
|
|
|
|
|
| -class HGetCachedArrayIndex: public HUnaryPredicate {
|
| +class HGetCachedArrayIndex: public HUnaryOperation {
|
| public:
|
| - explicit HGetCachedArrayIndex(HValue* value) : HUnaryPredicate(value) { }
|
| + explicit HGetCachedArrayIndex(HValue* value) : HUnaryOperation(value) {
|
| + set_representation(Representation::Tagged());
|
| + SetFlag(kUseGVN);
|
| + }
|
|
|
| + virtual Representation RequiredInputRepresentation(int index) const {
|
| + return Representation::Tagged();
|
| + }
|
| +
|
| DECLARE_CONCRETE_INSTRUCTION(GetCachedArrayIndex)
|
|
|
| protected:
|
|
|