Index: runtime/vm/intermediate_language.cc |
diff --git a/runtime/vm/intermediate_language.cc b/runtime/vm/intermediate_language.cc |
index e23603fb493170adaf9683639b5a2d613187e894..34a83cfd186382175f82cfa703976aaf85df1d75 100644 |
--- a/runtime/vm/intermediate_language.cc |
+++ b/runtime/vm/intermediate_language.cc |
@@ -2732,7 +2732,7 @@ RangeBoundary RangeBoundary::Shl(const RangeBoundary& value_boundary, |
((limit > 0) && (Utils::IsInt(limit, value)))) { |
// Result stays in 64 bit range. |
int64_t result = value << shift_count; |
- return Smi::IsValid(result) ? RangeBoundary(result) : overflow; |
+ return RangeBoundary(result); |
} |
return overflow; |