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 5b4e32d2c44cec51bbe3b6f8684addd610272614..c3bfd9e61203243d53023ae064bbd5b3dbe41eee 100644 |
--- a/src/x64/lithium-gap-resolver-x64.cc |
+++ b/src/x64/lithium-gap-resolver-x64.cc |
@@ -198,7 +198,7 @@ void LGapResolver::EmitMove(int index) { |
if (cgen_->IsSmiConstant(constant_source)) { |
__ Move(dst, cgen_->ToSmi(constant_source)); |
} else if (cgen_->IsInteger32Constant(constant_source)) { |
- __ Set(dst, cgen_->ToInteger32(constant_source)); |
+ __ Set(dst, static_cast<uint32_t>(cgen_->ToInteger32(constant_source))); |
} else { |
__ Move(dst, cgen_->ToHandle(constant_source)); |
} |