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
This commit is contained in:
dcarney@chromium.org 2014-01-27 11:13:50 +00:00
parent d2a4bd32fb
commit 2c5c08170f
3 changed files with 8 additions and 3 deletions

View File

@ -5312,7 +5312,7 @@ void CallApiFunctionStub::Generate(MacroAssembler* masm) {
Register callback_arg = rsi;
#endif
// It's okay if callback_arg == api_function_address
// It's okay if api_function_address == callback_arg
// but not arguments_arg
ASSERT(!api_function_address.is(arguments_arg));

View File

@ -697,7 +697,7 @@ void MacroAssembler::CallApiFunctionAndReturn(
ExternalReference scheduled_exception_address =
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.
Register prev_next_address_reg = r14;
Register prev_limit_reg = rbx;

View File

@ -1252,7 +1252,12 @@ void LoadStubCompiler::GenerateLoadCallback(
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);
// The name handler is counted as an argument.