| Index: src/hydrogen-instructions.h
|
| diff --git a/src/hydrogen-instructions.h b/src/hydrogen-instructions.h
|
| index b5741c633bf8eaaf1f7e7f0670524b2c7aba6930..1cc0628900764d7f76d518e6e3e3967b6080429a 100644
|
| --- a/src/hydrogen-instructions.h
|
| +++ b/src/hydrogen-instructions.h
|
| @@ -2068,14 +2068,18 @@ class HUnaryMathOperation: public HTemplateInstruction<2> {
|
| };
|
|
|
|
|
| -class HLoadElements: public HUnaryOperation {
|
| +class HLoadElements: public HTemplateInstruction<2> {
|
| public:
|
| - explicit HLoadElements(HValue* value) : HUnaryOperation(value) {
|
| + HLoadElements(HValue* value, HValue* typecheck) {
|
| + SetOperandAt(0, value);
|
| + SetOperandAt(1, typecheck);
|
| set_representation(Representation::Tagged());
|
| SetFlag(kUseGVN);
|
| SetGVNFlag(kDependsOnElementsPointer);
|
| }
|
|
|
| + HValue* value() { return OperandAt(0); }
|
| +
|
| virtual Representation RequiredInputRepresentation(int index) {
|
| return Representation::Tagged();
|
| }
|
|
|