Revision: 20838
Author:   [email protected]
Date:     Thu Apr 17 11:30:25 2014 UTC
Log:      X64: fix arguments adaptor stack check after r20751.

BUG=
[email protected]

Review URL: https://codereview.chromium.org/239703012
http://code.google.com/p/v8/source/detail?r=20838

Modified:
 /branches/bleeding_edge/src/x64/builtins-x64.cc

=======================================
--- /branches/bleeding_edge/src/x64/builtins-x64.cc Tue Apr 15 08:26:26 2014 UTC +++ /branches/bleeding_edge/src/x64/builtins-x64.cc Thu Apr 17 11:30:25 2014 UTC
@@ -1340,7 +1340,8 @@
   __ subp(rcx, rdx);
   // Make rdx the space we need for the array when it is unrolled onto the
   // stack.
-  __ PositiveSmiTimesPowerOfTwoToInteger64(rdx, rax, kPointerSizeLog2);
+  __ movp(rdx, rbx);
+  __ shlp(rdx, Immediate(kPointerSizeLog2));
   // Check if the arguments will overflow the stack.
   __ cmpp(rcx, rdx);
   __ j(less_equal, stack_overflow);  // Signed comparison.

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to