| Index: src/arm/lithium-arm.h
|
| diff --git a/src/arm/lithium-arm.h b/src/arm/lithium-arm.h
|
| index ada548189bd5e44bb05c606b37f8cbd3e7ed0493..33d165efc480f2449fd9e95e4aeadb215acdc0fa 100644
|
| --- a/src/arm/lithium-arm.h
|
| +++ b/src/arm/lithium-arm.h
|
| @@ -260,8 +260,6 @@ class LInstruction: public ZoneObject {
|
| virtual bool HasResult() const = 0;
|
| virtual LOperand* result() = 0;
|
|
|
| - virtual int InputCount() = 0;
|
| - virtual LOperand* InputAt(int i) = 0;
|
| virtual int TempCount() = 0;
|
| virtual LOperand* TempAt(int i) = 0;
|
|
|
| @@ -273,6 +271,11 @@ class LInstruction: public ZoneObject {
|
| #endif
|
|
|
| private:
|
| + // Iterator support.
|
| + friend class InputIterator;
|
| + virtual int InputCount() = 0;
|
| + virtual LOperand* InputAt(int i) = 0;
|
| +
|
| LEnvironment* environment_;
|
| SetOncePointer<LPointerMap> pointer_map_;
|
| HValue* hydrogen_value_;
|
| @@ -292,7 +295,6 @@ class LTemplateInstruction: public LInstruction {
|
| void set_result(LOperand* operand) { results_[0] = operand; }
|
| LOperand* result() { return results_[0]; }
|
|
|
| - int InputCount() { return I; }
|
| LOperand* InputAt(int i) { return inputs_[i]; }
|
|
|
| int TempCount() { return T; }
|
| @@ -302,6 +304,9 @@ class LTemplateInstruction: public LInstruction {
|
| EmbeddedContainer<LOperand*, R> results_;
|
| EmbeddedContainer<LOperand*, I> inputs_;
|
| EmbeddedContainer<LOperand*, T> temps_;
|
| +
|
| + private:
|
| + virtual int InputCount() { return I; }
|
| };
|
|
|
|
|
|
|