Revision: 12135
Author:   [email protected]
Date:     Wed Jul 18 08:05:04 2012
Log:      Push rdi instead of rsi when probing for CPU features.

[email protected]
BUG=v8:2238
TEST=

Review URL: https://chromiumcodereview.appspot.com/10806013
http://code.google.com/p/v8/source/detail?r=12135

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

=======================================
--- /branches/bleeding_edge/src/x64/assembler-x64.cc Wed Jul 18 06:02:27 2012 +++ /branches/bleeding_edge/src/x64/assembler-x64.cc Wed Jul 18 08:05:04 2012
@@ -75,7 +75,7 @@
   // Save old rsp, since we are going to modify the stack.
   __ push(rbp);
   __ pushfq();
-  __ push(rsi);
+  __ push(rdi);
   __ push(rcx);
   __ push(rbx);
   __ movq(rbp, rsp);
@@ -129,7 +129,7 @@
   __ movq(rsp, rbp);
   __ pop(rbx);
   __ pop(rcx);
-  __ pop(rsi);
+  __ pop(rdi);
   __ popfq();
   __ pop(rbp);
   __ ret(0);

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

Reply via email to