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

Unified Diff: runtime/lib/collection_patch.dart

Issue 1151523002: VM-internalize the default Map implementation. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Fix fingerprints. Created 5 years, 7 months 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
« no previous file with comments | « no previous file | runtime/lib/collection_sources.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/lib/collection_patch.dart
diff --git a/runtime/lib/collection_patch.dart b/runtime/lib/collection_patch.dart
index be2a2dd2f61ccd0915761bc009e9cc407aeda7d0..b725d8805614ccd88afab755d6f6a4f00f54345b 100644
--- a/runtime/lib/collection_patch.dart
+++ b/runtime/lib/collection_patch.dart
@@ -916,11 +916,7 @@ patch class LinkedHashMap<K, V> {
if (isValidKey == null) {
if (hashCode == null) {
if (equals == null) {
- if (_useInternalCached) {
- return new _InternalLinkedHashMap<K, V>();
- } else {
- return new _CompactLinkedHashMap<K, V>();
- }
+ return new _InternalLinkedHashMap<K, V>();
}
hashCode = _defaultHashCode;
} else {
@@ -945,9 +941,6 @@ patch class LinkedHashMap<K, V> {
/* patch */ factory LinkedHashMap.identity() =
_CompactLinkedIdentityHashMap<K, V>;
-
- static final bool _useInternalCached = _useInternal;
- static bool get _useInternal native "LinkedHashMap_useInternal";
}
patch class LinkedHashSet<E> {
« no previous file with comments | « no previous file | runtime/lib/collection_sources.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698