Index: src/arm/lithium-gap-resolver-arm.cc |
diff --git a/src/arm/lithium-gap-resolver-arm.cc b/src/arm/lithium-gap-resolver-arm.cc |
index 88ac7a2a21d0c4c7738a6566a6ba67fd43542804..7a3c96892c27be5169c4c837c247f80a804fc30b 100644 |
--- a/src/arm/lithium-gap-resolver-arm.cc |
+++ b/src/arm/lithium-gap-resolver-arm.cc |
@@ -254,7 +254,7 @@ void LGapResolver::EmitMove(int index) { |
} else { |
__ LoadObject(dst, cgen_->ToHandle(constant_source)); |
} |
- } else if (destination->IsDoubleRegister()) { |
+ } else if (source->IsDoubleRegister()) { |
DwVfpRegister result = cgen_->ToDoubleRegister(destination); |
double v = cgen_->ToDouble(constant_source); |
__ Vmov(result, v, ip); |