Index: src/x64/assembler-x64.cc |
diff --git a/src/x64/assembler-x64.cc b/src/x64/assembler-x64.cc |
index 77f92d844d5bd7798eb647082ba6545916709ea6..b3aa93611eacb98c6bf52de628ba9d4306c6b4c3 100644 |
--- a/src/x64/assembler-x64.cc |
+++ b/src/x64/assembler-x64.cc |
@@ -75,7 +75,7 @@ void CpuFeatures::Probe() { |
// 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 @@ void CpuFeatures::Probe() { |
__ movq(rsp, rbp); |
__ pop(rbx); |
__ pop(rcx); |
- __ pop(rsi); |
+ __ pop(rdi); |
__ popfq(); |
__ pop(rbp); |
__ ret(0); |