Reviewers: Lasse Reichstein,

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

Please review this at http://codereview.chromium.org/6623013/

SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/

Affected files:
  M     src/x64/deoptimizer-x64.cc


Index: src/x64/deoptimizer-x64.cc
===================================================================
--- src/x64/deoptimizer-x64.cc  (revision 7060)
+++ src/x64/deoptimizer-x64.cc  (working copy)
@@ -640,7 +640,7 @@
   // 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


--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to