| Index: src/x64/stub-cache-x64.cc
|
| diff --git a/src/x64/stub-cache-x64.cc b/src/x64/stub-cache-x64.cc
|
| index 86b4aff68d02b11ef6c7410499aa4e2da6b78611..a39d2b57d4fc4a9b2c0e0271aa1d037ada7b30b5 100644
|
| --- a/src/x64/stub-cache-x64.cc
|
| +++ b/src/x64/stub-cache-x64.cc
|
| @@ -379,8 +379,7 @@ static void PushInterceptorArguments(MacroAssembler* masm,
|
| __ push(receiver);
|
| __ push(holder);
|
| __ push(FieldOperand(kScratchRegister, InterceptorInfo::kDataOffset));
|
| - __ movq(kScratchRegister, ExternalReference::isolate_address());
|
| - __ push(kScratchRegister);
|
| + __ PushAddress(ExternalReference::isolate_address());
|
| }
|
|
|
|
|
| @@ -1010,8 +1009,7 @@ void StubCompiler::GenerateLoadCallback(Handle<JSObject> object,
|
| } else {
|
| __ Push(Handle<Object>(callback->data()));
|
| }
|
| - __ movq(kScratchRegister, ExternalReference::isolate_address());
|
| - __ push(kScratchRegister); // isolate
|
| + __ PushAddress(ExternalReference::isolate_address()); // isolate
|
| __ push(name_reg); // name
|
| // Save a pointer to where we pushed the arguments pointer.
|
| // This will be passed as the const AccessorInfo& to the C++ callback.
|
| @@ -1186,8 +1184,7 @@ void StubCompiler::GenerateLoadInterceptor(Handle<JSObject> object,
|
| __ push(holder_reg);
|
| __ Move(holder_reg, callback);
|
| __ push(FieldOperand(holder_reg, AccessorInfo::kDataOffset));
|
| - __ movq(kScratchRegister, ExternalReference::isolate_address());
|
| - __ push(kScratchRegister);
|
| + __ PushAddress(ExternalReference::isolate_address());
|
| __ push(holder_reg);
|
| __ push(name_reg);
|
| __ push(scratch2); // restore return address
|
|
|