| Index: src/ia32/lithium-ia32.h
|
| diff --git a/src/ia32/lithium-ia32.h b/src/ia32/lithium-ia32.h
|
| index 319aaee2cade91fb9a7245cc1b6f981af6d93cb8..949a4bb2b5aed3d16da54ba3c7c5291527a1f05b 100644
|
| --- a/src/ia32/lithium-ia32.h
|
| +++ b/src/ia32/lithium-ia32.h
|
| @@ -14,6 +14,10 @@
|
| namespace v8 {
|
| namespace internal {
|
|
|
| +namespace compiler {
|
| + class RCodeVisualizer;
|
| +}
|
| +
|
| // Forward declarations.
|
| class LCodeGen;
|
|
|
| @@ -202,6 +206,7 @@ class LInstruction : public ZoneObject {
|
| // Declare a unique enum value for each instruction.
|
| #define DECLARE_OPCODE(type) k##type,
|
| LITHIUM_CONCRETE_INSTRUCTION_LIST(DECLARE_OPCODE)
|
| + kAdapter,
|
| kNumberOfInstructions
|
| #undef DECLARE_OPCODE
|
| };
|
| @@ -220,6 +225,9 @@ class LInstruction : public ZoneObject {
|
|
|
| virtual bool IsControl() const { return false; }
|
|
|
| + // Try deleting this instruction if possible.
|
| + virtual bool TryDelete() { return false; }
|
| +
|
| void set_environment(LEnvironment* env) { environment_ = env; }
|
| LEnvironment* environment() const { return environment_; }
|
| bool HasEnvironment() const { return environment_ != NULL; }
|
| @@ -258,11 +266,12 @@ class LInstruction : public ZoneObject {
|
| void VerifyCall();
|
| #endif
|
|
|
| + virtual int InputCount() = 0;
|
| + virtual LOperand* InputAt(int i) = 0;
|
| +
|
| private:
|
| // Iterator support.
|
| friend class InputIterator;
|
| - virtual int InputCount() = 0;
|
| - virtual LOperand* InputAt(int i) = 0;
|
|
|
| friend class TempIterator;
|
| virtual int TempCount() = 0;
|
|
|