| Index: src/arm64/lithium-codegen-arm64.cc
|
| diff --git a/src/arm64/lithium-codegen-arm64.cc b/src/arm64/lithium-codegen-arm64.cc
|
| index 53ef1a47420cb7bf216078758c22a2394a605776..e52cc868c32639695e0ba285390dc89e24852b35 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_CONSTRUCTOR_FLAGS);
|
| + CallConstructStub stub(NO_CALL_FUNCTION_FLAGS);
|
| CallCode(stub.GetCode(isolate()), RelocInfo::CONSTRUCT_CALL, instr);
|
|
|
| ASSERT(ToRegister(instr->result()).is(x0));
|
|
|