Index: src/mips64/lithium-mips64.h |
diff --git a/src/mips64/lithium-mips64.h b/src/mips64/lithium-mips64.h |
index 395a39c697116277316f2e8c2691ea3988e6a751..92b73cce6a9f63903f7ca19413d7759c1a838d75 100644 |
--- a/src/mips64/lithium-mips64.h |
+++ b/src/mips64/lithium-mips64.h |
@@ -219,6 +219,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; } |
@@ -257,11 +260,12 @@ class LInstruction : public ZoneObject { |
void VerifyCall(); |
#endif |
+ virtual int InputCount() = 0; |
+ virtual LOperand* InputAt(int i) = 0; |
+ |
private: |
// Iterator interface. |
friend class InputIterator; |
- virtual int InputCount() = 0; |
- virtual LOperand* InputAt(int i) = 0; |
friend class TempIterator; |
virtual int TempCount() = 0; |