Index: src/x64/lithium-gap-resolver-x64.cc |
diff --git a/src/x64/lithium-gap-resolver-x64.cc b/src/x64/lithium-gap-resolver-x64.cc |
index 71db17c93156e9a55dc9724949d91bc17b444125..85b5f3c3e6da94838cb5e943430501a8a0830f50 100644 |
--- a/src/x64/lithium-gap-resolver-x64.cc |
+++ b/src/x64/lithium-gap-resolver-x64.cc |
@@ -262,7 +262,7 @@ void LGapResolver::EmitSwap(int index) { |
// Swap two general-purpose registers. |
Register src = cgen_->ToRegister(source); |
Register dst = cgen_->ToRegister(destination); |
- __ xchg(dst, src); |
+ __ xchgq(dst, src); |
} else if ((source->IsRegister() && destination->IsStackSlot()) || |
(source->IsStackSlot() && destination->IsRegister())) { |