Commit 2e7a9b04 authored by Victor Gomes's avatar Victor Gomes Committed by Commit Bot

[x64] Turn on v8_disable_arguments_adaptor

Change-Id: Ie8e2a87fa079b602f895c3c98053b7e7dfc61f45
Bug: v8:10201
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2440098Reviewed-by: 's avatarIgor Sheludko <ishell@chromium.org>
Commit-Queue: Victor Gomes <victorgomes@chromium.org>
Cr-Commit-Position: refs/heads/master@{#70497}
parent d5a80ba4
......@@ -110,7 +110,7 @@ declare_args() {
v8_enable_31bit_smis_on_64bit_arch = false
# Disable arguments adaptor frame (sets -dV8_NO_ARGUMENTS_ADAPTOR).
v8_disable_arguments_adaptor = false
v8_disable_arguments_adaptor = v8_current_cpu == "x64"
# Reverse JS arguments order in the stack (sets -dV8_REVERSE_JSARGS).
v8_enable_reverse_jsargs = true
......
......@@ -2362,7 +2362,7 @@ void MacroAssembler::InvokeFunctionCode(Register function, Register new_target,
Operand debug_hook_active_operand =
ExternalReferenceAsOperand(debug_hook_active);
cmpb(debug_hook_active_operand, Immediate(0));
j(not_equal, &debug_hook, Label::kNear);
j(not_equal, &debug_hook);
}
bind(&continue_after_hook);
......@@ -2390,7 +2390,7 @@ void MacroAssembler::InvokeFunctionCode(Register function, Register new_target,
bind(&debug_hook);
CallDebugOnFunctionCall(function, new_target, expected_parameter_count,
actual_parameter_count);
jmp(&continue_after_hook, Label::kNear);
jmp(&continue_after_hook);
bind(&done);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment