| Index: src/compiler/ia32/code-generator-ia32.cc
|
| diff --git a/src/compiler/ia32/code-generator-ia32.cc b/src/compiler/ia32/code-generator-ia32.cc
|
| index 83a86303afc6d02d3f9c8b6ca16a0b58a8895bc3..945e99d092c96d6339269313c856db57343c6aaa 100644
|
| --- a/src/compiler/ia32/code-generator-ia32.cc
|
| +++ b/src/compiler/ia32/code-generator-ia32.cc
|
| @@ -990,7 +990,7 @@ void CodeGenerator::AssembleSwap(InstructionOperand* source,
|
| __ movaps(xmm0, src);
|
| __ movaps(src, dst);
|
| __ movaps(dst, xmm0);
|
| - } else if (source->IsDoubleRegister() && source->IsDoubleStackSlot()) {
|
| + } else if (source->IsDoubleRegister() && destination->IsDoubleStackSlot()) {
|
| // XMM register-memory swap. We rely on having xmm0
|
| // available as a fixed scratch register.
|
| XMMRegister reg = g.ToDoubleRegister(source);
|
|
|