| Index: src/arm64/lithium-codegen-arm64.cc
|
| diff --git a/src/arm64/lithium-codegen-arm64.cc b/src/arm64/lithium-codegen-arm64.cc
|
| index f8f06cfe8257a387c1b4f71990e1b90962f0c851..ae398c536566cf5dc36a8815ebedcff0e408267a 100644
|
| --- a/src/arm64/lithium-codegen-arm64.cc
|
| +++ b/src/arm64/lithium-codegen-arm64.cc
|
| @@ -444,7 +444,7 @@ void LCodeGen::DoCallNew(LCallNew* instr) {
|
| // No cell in x2 for construct type feedback in optimized code.
|
| __ LoadRoot(x2, Heap::kUndefinedValueRootIndex);
|
|
|
| - CallConstructStub stub(NO_CALL_FUNCTION_FLAGS);
|
| + CallConstructStub stub(NO_CALL_CONSTRUCTOR_FLAGS);
|
| CallCode(stub.GetCode(isolate()), RelocInfo::CONSTRUCT_CALL, instr);
|
|
|
| ASSERT(ToRegister(instr->result()).is(x0));
|
|
|