Commit 2c5c0817 authored by dcarney@chromium.org's avatar dcarney@chromium.org

fix windows after r18847

TBR=verwaest@chromium.org

BUG=

Review URL: https://codereview.chromium.org/145353005

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18850 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent d2a4bd32
...@@ -5312,7 +5312,7 @@ void CallApiFunctionStub::Generate(MacroAssembler* masm) { ...@@ -5312,7 +5312,7 @@ void CallApiFunctionStub::Generate(MacroAssembler* masm) {
Register callback_arg = rsi; Register callback_arg = rsi;
#endif #endif
// It's okay if callback_arg == api_function_address // It's okay if api_function_address == callback_arg
// but not arguments_arg // but not arguments_arg
ASSERT(!api_function_address.is(arguments_arg)); ASSERT(!api_function_address.is(arguments_arg));
......
...@@ -697,7 +697,7 @@ void MacroAssembler::CallApiFunctionAndReturn( ...@@ -697,7 +697,7 @@ void MacroAssembler::CallApiFunctionAndReturn(
ExternalReference scheduled_exception_address = ExternalReference scheduled_exception_address =
ExternalReference::scheduled_exception_address(isolate()); ExternalReference::scheduled_exception_address(isolate());
ASSERT(rdx.is(function_address)); ASSERT(rdx.is(function_address) || r8.is(function_address));
// Allocate HandleScope in callee-save registers. // Allocate HandleScope in callee-save registers.
Register prev_next_address_reg = r14; Register prev_next_address_reg = r14;
Register prev_limit_reg = rbx; Register prev_limit_reg = rbx;
......
...@@ -1252,7 +1252,12 @@ void LoadStubCompiler::GenerateLoadCallback( ...@@ -1252,7 +1252,12 @@ void LoadStubCompiler::GenerateLoadCallback(
Address thunk_address = FUNCTION_ADDR(&InvokeAccessorGetterCallback); Address thunk_address = FUNCTION_ADDR(&InvokeAccessorGetterCallback);
Register api_function_address = rdx; Register api_function_address = r8;
// It's okay if api_function_address == getter_arg
// but not accessor_info_arg or name_arg
ASSERT(!api_function_address.is(accessor_info_arg) &&
!api_function_address.is(name_arg));
__ Move(api_function_address, getter_address, RelocInfo::EXTERNAL_REFERENCE); __ Move(api_function_address, getter_address, RelocInfo::EXTERNAL_REFERENCE);
// The name handler is counted as an argument. // The name handler is counted as an argument.
......
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