Index: src/mips/lithium-gap-resolver-mips.cc |
diff --git a/src/mips/lithium-gap-resolver-mips.cc b/src/mips/lithium-gap-resolver-mips.cc |
index 460e13bf0a9f1f4a29b9d05b2dc742a9bd9bc1d2..771b22862eef896e2819644b7f2a8aadd9aaf5e0 100644 |
--- a/src/mips/lithium-gap-resolver-mips.cc |
+++ b/src/mips/lithium-gap-resolver-mips.cc |
@@ -258,7 +258,7 @@ void LGapResolver::EmitMove(int index) { |
} else { |
__ LoadObject(dst, cgen_->ToHandle(constant_source)); |
} |
- } else if (destination->IsDoubleRegister()) { |
+ } else if (source->IsDoubleRegister()) { |
DoubleRegister result = cgen_->ToDoubleRegister(destination); |
double v = cgen_->ToDouble(constant_source); |
__ Move(result, v); |