Fix X64 Crankshaft error on Win64 platform, in deoptimizer-x64.cc parameter passing.

Review URL: http://codereview.chromium.org/6623013

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7061 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
whesse@chromium.org 2011-03-04 12:34:05 +00:00
parent ff6190946c
commit 8a0e217186

View File

@ -640,7 +640,7 @@ void Deoptimizer::EntryGenerator::Generate() {
// On windows put the argument on the stack (PrepareCallCFunction have
// created space for this). On linux pass the argument in r8.
#ifdef _WIN64
__ movq(Operand(rsp, 0 * kPointerSize), arg5);
__ movq(Operand(rsp, 4 * kPointerSize), arg5);
#else
__ movq(r8, arg5);
#endif