Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2611)

Unified Diff: pkg/kernel/lib/type_propagation/canonicalizer.dart

Issue 2561723003: Merge kernel closure conversion into the Dart SDK (Closed)
Patch Set: Remove path constraint Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: pkg/kernel/lib/type_propagation/canonicalizer.dart
diff --git a/pkg/kernel/lib/type_propagation/canonicalizer.dart b/pkg/kernel/lib/type_propagation/canonicalizer.dart
index 420bd01a9cf672bed8ca2c2264075851a26046f2..60192b59f4a55aa94ffbcef182773459c7698b21 100644
--- a/pkg/kernel/lib/type_propagation/canonicalizer.dart
+++ b/pkg/kernel/lib/type_propagation/canonicalizer.dart
@@ -99,8 +99,8 @@ class Uint31PairMap<T> {
Iterable<T> get values => _table.values;
static int _bigintHash(int bigint) {
- int x = 0x3fffffff & (bigint >> 31);
- int y = 0x3fffffff & bigint;
+ int x = 0x3fffffff & (bigint >> 31);
+ int y = 0x3fffffff & bigint;
int hash = 0x3fffffff & (x * 1367);
hash = 0x3fffffff & (y * 31 + hash ^ y);
hash = 0x3fffffff & ((x ^ y) * 31 + hash ^ y);
« no previous file with comments | « pkg/kernel/lib/transformations/closure_conversion.dart ('k') | pkg/kernel/lib/type_propagation/type_propagation.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698