Index: src/mips/lithium-mips.h |
diff --git a/src/mips/lithium-mips.h b/src/mips/lithium-mips.h |
index 952df990722f96a5a96684ef42ad119139e83814..a68f4f07e7ae1cf627507744d802069131c62a50 100644 |
--- a/src/mips/lithium-mips.h |
+++ b/src/mips/lithium-mips.h |
@@ -179,7 +179,8 @@ class LCodeGen; |
V(CheckMapValue) \ |
V(LoadFieldByIndex) \ |
V(DateField) \ |
- V(WrapReceiver) |
+ V(WrapReceiver) \ |
+ V(Drop) |
#define DECLARE_CONCRETE_INSTRUCTION(type, mnemonic) \ |
virtual Opcode opcode() const { return LInstruction::k##type; } \ |
@@ -533,9 +534,15 @@ class LArgumentsLength: public LTemplateInstruction<1, 1, 0> { |
class LArgumentsElements: public LTemplateInstruction<1, 0, 0> { |
public: |
- LArgumentsElements() { } |
+ explicit LArgumentsElements(bool from_inlined) |
+ : from_inlined_(from_inlined) { } |
+ |
+ bool from_inlined() const { return from_inlined_; } |
DECLARE_CONCRETE_INSTRUCTION(ArgumentsElements, "arguments-elements") |
+ |
+ private: |
+ bool from_inlined_; |
}; |
@@ -1358,6 +1365,19 @@ class LPushArgument: public LTemplateInstruction<0, 1, 0> { |
}; |
+class LDrop: public LTemplateInstruction<0, 0, 0> { |
+ public: |
+ explicit LDrop(int count) : count_(count) { } |
+ |
+ int count() const { return count_; } |
+ |
+ DECLARE_CONCRETE_INSTRUCTION(Drop, "drop") |
+ |
+ private: |
+ int count_; |
+}; |
+ |
+ |
class LThisFunction: public LTemplateInstruction<1, 0, 0> { |
public: |
DECLARE_CONCRETE_INSTRUCTION(ThisFunction, "this-function") |