Index: src/arm/lithium-arm.h |
diff --git a/src/arm/lithium-arm.h b/src/arm/lithium-arm.h |
index 26e8cc5ebccde9644772ad044eed32613a61cb58..37303933ec3382e2e27342f26fe1a5859fa75d47 100644 |
--- a/src/arm/lithium-arm.h |
+++ b/src/arm/lithium-arm.h |
@@ -223,6 +223,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; } |
@@ -261,11 +264,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; |