[x64] Turn on v8_disable_arguments_adaptor

Change-Id: Ie8e2a87fa079b602f895c3c98053b7e7dfc61f45
Bug: v8:10201
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2440098
Reviewed-by: Igor Sheludko <ishell@chromium.org>
Commit-Queue: Victor Gomes <victorgomes@chromium.org>
Cr-Commit-Position: refs/heads/master@{#70497}
This commit is contained in:
Victor Gomes 2020-10-13 19:07:32 +02:00 committed by Commit Bot
parent d5a80ba4df
commit 2e7a9b0449
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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);
}