Index: src/x64/builtins-x64.cc |
diff --git a/src/x64/builtins-x64.cc b/src/x64/builtins-x64.cc |
index 18c65b1db852b3262c9f9d09315c357317b704c1..36ec61cdde36aecdd2bb7744594eff9cf39c8753 100644 |
--- a/src/x64/builtins-x64.cc |
+++ b/src/x64/builtins-x64.cc |
@@ -801,7 +801,7 @@ void Builtins::Generate_InterpreterPushArgsAndConstruct(MacroAssembler* masm) { |
__ PushReturnAddressFrom(kScratchRegister); |
// Call the constructor (rax, rdx, rdi passed on). |
- __ Jump(masm->isolate()->builtins()->Construct(), RelocInfo::CONSTRUCT_CALL); |
+ __ Jump(masm->isolate()->builtins()->Construct(), RelocInfo::CODE_TARGET); |
} |
@@ -1204,8 +1204,7 @@ static void Generate_ConstructHelper(MacroAssembler* masm) { |
__ movp(rdx, Operand(rbp, kNewTargetOffset)); |
// Call the function. |
- __ Call(masm->isolate()->builtins()->Construct(), |
- RelocInfo::CONSTRUCT_CALL); |
+ __ Call(masm->isolate()->builtins()->Construct(), RelocInfo::CODE_TARGET); |
// Leave internal frame. |
} |