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

Unified Diff: runtime/lib/immutable_map.dart

Issue 1971193002: Patches to support Dart VM patch files in dart2js. (Closed) Base URL: sso://user/ahe/dart-sdk@master
Patch Set: Created 4 years, 6 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 | « runtime/lib/expando_patch.dart ('k') | runtime/lib/integers_patch.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/lib/immutable_map.dart
diff --git a/runtime/lib/immutable_map.dart b/runtime/lib/immutable_map.dart
index b8d0d3c62d7b9cb8ed74402db42413aba5f6c39e..22f1fd27c91896ee9ac5e2d98986ca1731d24a83 100644
--- a/runtime/lib/immutable_map.dart
+++ b/runtime/lib/immutable_map.dart
@@ -3,10 +3,10 @@
// BSD-style license that can be found in the LICENSE file.
// Immutable map class for compiler generated map literals.
-class ImmutableMap<K, V> implements Map<K, V> {
+class _ImmutableMap<K, V> implements Map<K, V> {
final _ImmutableList _kvPairs;
- const ImmutableMap._create(_ImmutableList keyValuePairs)
+ const _ImmutableMap._create(_ImmutableList keyValuePairs)
: _kvPairs = keyValuePairs;
@@ -87,7 +87,7 @@ class ImmutableMap<K, V> implements Map<K, V> {
class _ImmutableMapKeyIterable<E> extends IterableBase<E>
implements EfficientLength {
- final ImmutableMap _map;
+ final _ImmutableMap _map;
_ImmutableMapKeyIterable(this._map);
Iterator<E> get iterator {
@@ -99,7 +99,7 @@ class _ImmutableMapKeyIterable<E> extends IterableBase<E>
class _ImmutableMapValueIterable<E> extends IterableBase<E>
implements EfficientLength {
- final ImmutableMap _map;
+ final _ImmutableMap _map;
_ImmutableMapValueIterable(this._map);
Iterator<E> get iterator {
@@ -110,7 +110,7 @@ class _ImmutableMapValueIterable<E> extends IterableBase<E>
}
class _ImmutableMapKeyIterator<E> implements Iterator<E> {
- ImmutableMap _map;
+ _ImmutableMap _map;
int _index = -1;
E _current;
@@ -132,7 +132,7 @@ class _ImmutableMapKeyIterator<E> implements Iterator<E> {
}
class _ImmutableMapValueIterator<E> implements Iterator<E> {
- ImmutableMap _map;
+ _ImmutableMap _map;
int _index = -1;
E _current;
« no previous file with comments | « runtime/lib/expando_patch.dart ('k') | runtime/lib/integers_patch.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698