Index: src/mips/lithium-mips.h |
diff --git a/src/mips/lithium-mips.h b/src/mips/lithium-mips.h |
index db235e4637b949a2602257f5ea85b210c55d4586..c5a00d74b62dd9e4b7772140f09045a2ad8dc0ee 100644 |
--- a/src/mips/lithium-mips.h |
+++ b/src/mips/lithium-mips.h |
@@ -68,6 +68,7 @@ class LCodeGen; |
V(CallKnownGlobal) \ |
V(CallNamed) \ |
V(CallNew) \ |
+ V(CallNewArray) \ |
V(CallRuntime) \ |
V(CallStub) \ |
V(CheckFunction) \ |
@@ -1762,6 +1763,23 @@ class LCallNew: public LTemplateInstruction<1, 1, 0> { |
}; |
+class LCallNewArray: public LTemplateInstruction<1, 1, 0> { |
+ public: |
+ explicit LCallNewArray(LOperand* constructor) { |
+ inputs_[0] = constructor; |
+ } |
+ |
+ LOperand* constructor() { return inputs_[0]; } |
+ |
+ DECLARE_CONCRETE_INSTRUCTION(CallNewArray, "call-new-array") |
+ DECLARE_HYDROGEN_ACCESSOR(CallNewArray) |
+ |
+ virtual void PrintDataTo(StringStream* stream); |
+ |
+ int arity() const { return hydrogen()->argument_count() - 1; } |
+}; |
+ |
+ |
class LCallRuntime: public LTemplateInstruction<1, 0, 0> { |
public: |
DECLARE_CONCRETE_INSTRUCTION(CallRuntime, "call-runtime") |