Index: src/x64/lithium-codegen-x64.cc |
diff --git a/src/x64/lithium-codegen-x64.cc b/src/x64/lithium-codegen-x64.cc |
index 654e09206c965ace839b4a10ca7e1713492cb55c..421aba8d4245639a17f8e20f6f447904a25e0185 100644 |
--- a/src/x64/lithium-codegen-x64.cc |
+++ b/src/x64/lithium-codegen-x64.cc |
@@ -3898,7 +3898,7 @@ void LCodeGen::DoCallNew(LCallNew* instr) { |
__ Set(rax, instr->arity()); |
// No cell in ebx for construct type feedback in optimized code |
__ LoadRoot(rbx, Heap::kUndefinedValueRootIndex); |
- CallConstructStub stub(isolate(), NO_CALL_FUNCTION_FLAGS); |
+ CallConstructStub stub(isolate(), NO_CALL_CONSTRUCTOR_FLAGS); |
CallCode(stub.GetCode(), RelocInfo::CONSTRUCT_CALL, instr); |
} |