Index: pkg/analyzer/lib/src/summary/summarize_const_expr.dart |
diff --git a/pkg/analyzer/lib/src/summary/summarize_const_expr.dart b/pkg/analyzer/lib/src/summary/summarize_const_expr.dart |
index 46b69582fc0f4300576ac0a8a6e059fbe1c1c93d..fc3184bf0cc53e0dbab1eb7e7048cdd932793503 100644 |
--- a/pkg/analyzer/lib/src/summary/summarize_const_expr.dart |
+++ b/pkg/analyzer/lib/src/summary/summarize_const_expr.dart |
@@ -275,12 +275,12 @@ abstract class AbstractConstExprSerializer { |
void _pushInt(int value) { |
assert(value >= 0); |
- if (value >= (1 << 32)) { |
+ if (value >= 0x100000000) { |
int numOfComponents = 0; |
ints.add(numOfComponents); |
void pushComponents(int value) { |
- if (value >= (1 << 32)) { |
- pushComponents(value >> 32); |
+ if (value >= 0x100000000) { |
+ pushComponents(value ~/ 0x100000000); |
} |
numOfComponents++; |
ints.add(value & 0xFFFFFFFF); |