Commit 3a5e4c45 authored by dcarney@chromium.org's avatar dcarney@chromium.org

windows test fix for 15221

TBR=svenpanne@chromium.org
BUG=

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@15232 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 928cbcdc
...@@ -1315,8 +1315,8 @@ void BaseLoadStubCompiler::GenerateLoadCallback( ...@@ -1315,8 +1315,8 @@ void BaseLoadStubCompiler::GenerateLoadCallback(
Register reg, Register reg,
Handle<ExecutableAccessorInfo> callback) { Handle<ExecutableAccessorInfo> callback) {
// Insert additional parameters into the stack frame above return address. // Insert additional parameters into the stack frame above return address.
ASSERT(!scratch2().is(reg)); ASSERT(!scratch4().is(reg));
__ pop(scratch2()); // Get return address to place it below. __ pop(scratch4()); // Get return address to place it below.
__ push(receiver()); // receiver __ push(receiver()); // receiver
__ push(reg); // holder __ push(reg); // holder
...@@ -1354,9 +1354,9 @@ void BaseLoadStubCompiler::GenerateLoadCallback( ...@@ -1354,9 +1354,9 @@ void BaseLoadStubCompiler::GenerateLoadCallback(
Register name_arg = rdi; Register name_arg = rdi;
#endif #endif
ASSERT(!name_arg.is(scratch2())); ASSERT(!name_arg.is(scratch4()));
__ movq(name_arg, rsp); __ movq(name_arg, rsp);
__ push(scratch2()); // Restore return address. __ push(scratch4()); // Restore return address.
// v8::Arguments::values_ and handler for name. // v8::Arguments::values_ and handler for name.
const int kStackSpace = PropertyCallbackArguments::kArgsLength + 1; const int kStackSpace = PropertyCallbackArguments::kArgsLength + 1;
......
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