| Index: src/arm/lithium-arm.h
|
| diff --git a/src/arm/lithium-arm.h b/src/arm/lithium-arm.h
|
| index a93e8980454ff081cdb3b48db5891185d8ffc01a..015d1d74d63c9ec849b0807be02c571f0e1fee4e 100644
|
| --- a/src/arm/lithium-arm.h
|
| +++ b/src/arm/lithium-arm.h
|
| @@ -68,6 +68,7 @@ class LCodeGen;
|
| V(CallKnownGlobal) \
|
| V(CallNamed) \
|
| V(CallNew) \
|
| + V(CallNewArray) \
|
| V(CallRuntime) \
|
| V(CallStub) \
|
| V(CheckFunction) \
|
| @@ -1784,6 +1785,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")
|
|
|