Index: src/x64/lithium-x64.h |
diff --git a/src/x64/lithium-x64.h b/src/x64/lithium-x64.h |
index b2f4697f16173ab240f0629029e5206995b34e84..69d02c0063252c5b46e69e40d4b6ba9ad2bc6114 100644 |
--- a/src/x64/lithium-x64.h |
+++ b/src/x64/lithium-x64.h |
@@ -220,6 +220,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; } |
@@ -262,11 +265,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; |