Index: src/arm64/lithium-codegen-arm64.cc |
diff --git a/src/arm64/lithium-codegen-arm64.cc b/src/arm64/lithium-codegen-arm64.cc |
index 48ea7796773e0b3cb4f5638b597abd967d29f56f..510b806ad59d41adcb4b78ab98d5a3027d4adaeb 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)); |