| Index: src/x64/lithium-x64.h
|
| diff --git a/src/x64/lithium-x64.h b/src/x64/lithium-x64.h
|
| index 061a305354e4aafe4107a3a39dca8651692759a0..6fa7b32cf045f2399727adf91c2299dac02ae188 100644
|
| --- a/src/x64/lithium-x64.h
|
| +++ b/src/x64/lithium-x64.h
|
| @@ -68,6 +68,7 @@ class LCodeGen;
|
| V(CallKnownGlobal) \
|
| V(CallNamed) \
|
| V(CallNew) \
|
| + V(CallNewArray) \
|
| V(CallRuntime) \
|
| V(CallStub) \
|
| V(CheckFunction) \
|
| @@ -1734,6 +1735,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")
|
|
|