Index: src/arm64/builtins-arm64.cc |
diff --git a/src/arm64/builtins-arm64.cc b/src/arm64/builtins-arm64.cc |
index 5f3f3e05b86469ede476bc086af08cc927ad5f27..d14d94b94e6403c038953d9ecc59f268f40038a4 100644 |
--- a/src/arm64/builtins-arm64.cc |
+++ b/src/arm64/builtins-arm64.cc |
@@ -1498,8 +1498,7 @@ static void Generate_ConstructHelper(MacroAssembler* masm) { |
__ Ldr(x3, MemOperand(fp, kNewTargetOffset)); |
// Call the function. |
- __ Call(masm->isolate()->builtins()->Construct(), |
- RelocInfo::CONSTRUCT_CALL); |
+ __ Call(masm->isolate()->builtins()->Construct(), RelocInfo::CODE_TARGET); |
// Leave internal frame. |
} |
@@ -1871,7 +1870,7 @@ void Builtins::Generate_InterpreterPushArgsAndConstruct(MacroAssembler* masm) { |
__ B(gt, &loop_header); |
// Call the constructor with x0, x1, and x3 unmodified. |
- __ Jump(masm->isolate()->builtins()->Construct(), RelocInfo::CONSTRUCT_CALL); |
+ __ Jump(masm->isolate()->builtins()->Construct(), RelocInfo::CODE_TARGET); |
} |