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

Unified Diff: sdk/lib/_internal/compiler/implementation/util/util.dart

Issue 94873002: Fix ContainerTypeMask== and ContainerTypeMask.hashCode. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 1 month 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: sdk/lib/_internal/compiler/implementation/util/util.dart
===================================================================
--- sdk/lib/_internal/compiler/implementation/util/util.dart (revision 30759)
+++ sdk/lib/_internal/compiler/implementation/util/util.dart (working copy)
@@ -284,9 +284,10 @@
buffer.write(string);
}
-int computeHashCode(part1, [part2, part3, part4]) {
+int computeHashCode(part1, [part2, part3, part4, part5]) {
return (part1.hashCode
^ part2.hashCode
^ part3.hashCode
- ^ part4.hashCode) & 0x3fffffff;
+ ^ part4.hashCode
+ ^ part5.hashCode) & 0x3fffffff;
}

Powered by Google App Engine
This is Rietveld 408576698