Index: src/mips/lithium-mips.h |
diff --git a/src/mips/lithium-mips.h b/src/mips/lithium-mips.h |
index adda4e256de8e1310b100ea85bf8dc6aaa3264d5..101d9c20580a4ce3b57046f744338f79e7f4a984 100644 |
--- a/src/mips/lithium-mips.h |
+++ b/src/mips/lithium-mips.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; } |
@@ -258,11 +261,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; |