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