Index: src/x64/lithium-codegen-x64.cc |
diff --git a/src/x64/lithium-codegen-x64.cc b/src/x64/lithium-codegen-x64.cc |
index 2a14262257a33f12a6dfced1c023349b5c5a3814..a8536a1841f379a5078e5fc79716f16e9564024f 100644 |
--- a/src/x64/lithium-codegen-x64.cc |
+++ b/src/x64/lithium-codegen-x64.cc |
@@ -3880,7 +3880,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(NO_CALL_CONSTRUCTOR_FLAGS); |
+ CallConstructStub stub(NO_CALL_FUNCTION_FLAGS); |
CallCode(stub.GetCode(isolate()), RelocInfo::CONSTRUCT_CALL, instr); |
} |