Commit fd7fb06b authored by bmeurer@chromium.org's avatar bmeurer@chromium.org

[turbofan] Fix typo in IA-32 code generator.

TEST=benchmarks/octane/zlib
TBR=jarin@chromium.org

Review URL: https://codereview.chromium.org/633373002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24461 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent e1fe5da3
...@@ -990,7 +990,7 @@ void CodeGenerator::AssembleSwap(InstructionOperand* source, ...@@ -990,7 +990,7 @@ void CodeGenerator::AssembleSwap(InstructionOperand* source,
__ movaps(xmm0, src); __ movaps(xmm0, src);
__ movaps(src, dst); __ movaps(src, dst);
__ movaps(dst, xmm0); __ movaps(dst, xmm0);
} else if (source->IsDoubleRegister() && source->IsDoubleStackSlot()) { } else if (source->IsDoubleRegister() && destination->IsDoubleStackSlot()) {
// XMM register-memory swap. We rely on having xmm0 // XMM register-memory swap. We rely on having xmm0
// available as a fixed scratch register. // available as a fixed scratch register.
XMMRegister reg = g.ToDoubleRegister(source); XMMRegister reg = g.ToDoubleRegister(source);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment