| Index: src/hydrogen-instructions.h
|
| diff --git a/src/hydrogen-instructions.h b/src/hydrogen-instructions.h
|
| index c09f261c2e1772e7bfe6548c01f0c5946a4eb8f2..02ff6be5f894bfa8a339354c5f3d9b9638fc60a4 100644
|
| --- a/src/hydrogen-instructions.h
|
| +++ b/src/hydrogen-instructions.h
|
| @@ -135,7 +135,6 @@ class LChunkBuilder;
|
| V(IsUndetectableAndBranch) \
|
| V(LeaveInlined) \
|
| V(LoadContextSlot) \
|
| - V(LoadElements) \
|
| V(LoadExternalArrayPointer) \
|
| V(LoadFunctionPrototype) \
|
| V(LoadGlobalCell) \
|
| @@ -2585,39 +2584,6 @@ class HUnaryMathOperation: public HTemplateInstruction<2> {
|
| };
|
|
|
|
|
| -class HLoadElements: public HTemplateInstruction<2> {
|
| - public:
|
| - HLoadElements(HValue* value, HValue* typecheck) {
|
| - SetOperandAt(0, value);
|
| - SetOperandAt(1, typecheck != NULL ? typecheck : value);
|
| - set_representation(Representation::Tagged());
|
| - SetFlag(kUseGVN);
|
| - SetGVNFlag(kDependsOnElementsPointer);
|
| - }
|
| -
|
| - HValue* value() { return OperandAt(0); }
|
| - HValue* typecheck() {
|
| - ASSERT(HasTypeCheck());
|
| - return OperandAt(1);
|
| - }
|
| - bool HasTypeCheck() const { return OperandAt(0) != OperandAt(1); }
|
| -
|
| - virtual void PrintDataTo(StringStream* stream);
|
| -
|
| - virtual Representation RequiredInputRepresentation(int index) {
|
| - return Representation::Tagged();
|
| - }
|
| -
|
| - DECLARE_CONCRETE_INSTRUCTION(LoadElements)
|
| -
|
| - protected:
|
| - virtual bool DataEquals(HValue* other) { return true; }
|
| -
|
| - private:
|
| - virtual bool IsDeletable() const { return true; }
|
| -};
|
| -
|
| -
|
| class HLoadExternalArrayPointer: public HUnaryOperation {
|
| public:
|
| explicit HLoadExternalArrayPointer(HValue* value)
|
|
|