Index: test/cctest/test-code-stubs-x64.cc |
diff --git a/test/cctest/test-code-stubs-x64.cc b/test/cctest/test-code-stubs-x64.cc |
index 6b3a12ccc82104ef3b553530cdd4061c59c4bf98..05fd543642617a560c743888af14785e0e697881 100644 |
--- a/test/cctest/test-code-stubs-x64.cc |
+++ b/test/cctest/test-code-stubs-x64.cc |
@@ -57,11 +57,11 @@ ConvertDToIFunc MakeConvertDToIFuncTrampoline(Isolate* isolate, |
DoubleToIStub stub(source_reg, destination_reg, offset, true); |
byte* start = stub.GetCode(isolate)->instruction_start(); |
- __ push(rbx); |
- __ push(rcx); |
- __ push(rdx); |
- __ push(rsi); |
- __ push(rdi); |
+ __ pushq(rbx); |
+ __ pushq(rcx); |
+ __ pushq(rdx); |
+ __ pushq(rsi); |
+ __ pushq(rdi); |
if (!source_reg.is(rsp)) { |
// The argument we pass to the stub is not a heap number, but instead |
@@ -78,7 +78,7 @@ ConvertDToIFunc MakeConvertDToIFuncTrampoline(Isolate* isolate, |
for (;reg_num < Register::NumAllocatableRegisters(); ++reg_num) { |
Register reg = Register::FromAllocationIndex(reg_num); |
if (!reg.is(rsp) && !reg.is(rbp) && !reg.is(destination_reg)) { |
- __ push(reg); |
+ __ pushq(reg); |
} |
} |
@@ -103,11 +103,11 @@ ConvertDToIFunc MakeConvertDToIFuncTrampoline(Isolate* isolate, |
__ movq(rax, destination_reg); |
- __ pop(rdi); |
- __ pop(rsi); |
- __ pop(rdx); |
- __ pop(rcx); |
- __ pop(rbx); |
+ __ popq(rdi); |
+ __ popq(rsi); |
+ __ popq(rdx); |
+ __ popq(rcx); |
+ __ popq(rbx); |
__ ret(0); |