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:
parent
d2a4bd32fb
commit
2c5c08170f
@ -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(
|
|||||||
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(
|
|||||||
|
|
||||||
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.
|
||||||
|
Loading…
Reference in New Issue
Block a user