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

Side by Side Diff: pkg/compiler/lib/src/types/dictionary_type_mask.dart

Issue 694353007: Move dart2js from sdk/lib/_internal/compiler to pkg/compiler (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 part of types; 5 part of types;
6 6
7 /** 7 /**
8 * A [DictionaryTypeMask] is a [TypeMask] for a specific allocation 8 * A [DictionaryTypeMask] is a [TypeMask] for a specific allocation
9 * site of a map (currently only internal Map class) that is used as 9 * site of a map (currently only internal Map class) that is used as
10 * a dictionary, i.e. a mapping from a set of statically known strings 10 * a dictionary, i.e. a mapping from a set of statically known strings
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 int get hashCode { 109 int get hashCode {
110 return computeHashCode( 110 return computeHashCode(
111 allocationNode, isNullable, typeMap, forwardTo); 111 allocationNode, isNullable, typeMap, forwardTo);
112 } 112 }
113 113
114 String toString() { 114 String toString() {
115 return 115 return
116 'Dictionary mask: [$keyType/$valueType with $typeMap] type: $forwardTo'; 116 'Dictionary mask: [$keyType/$valueType with $typeMap] type: $forwardTo';
117 } 117 }
118 } 118 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/types/container_type_mask.dart ('k') | pkg/compiler/lib/src/types/flat_type_mask.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698