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

Side by Side Diff: pkg/compiler/lib/src/types/map_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 [MapTypeMask] is a [TypeMask] for a specific allocation 8 * A [MapTypeMask] is a [TypeMask] for a specific allocation
9 * site of a map (currently only internal Map class) that will get specialized 9 * site of a map (currently only internal Map class) that will get specialized
10 * once the [TypeGraphInferrer] phase finds a key and/or value type for it. 10 * once the [TypeGraphInferrer] phase finds a key and/or value type for it.
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 111
112 int get hashCode { 112 int get hashCode {
113 return computeHashCode( 113 return computeHashCode(
114 allocationNode, isNullable, keyType, valueType, forwardTo); 114 allocationNode, isNullable, keyType, valueType, forwardTo);
115 } 115 }
116 116
117 String toString() { 117 String toString() {
118 return 'Map mask: [$keyType/$valueType] type: $forwardTo'; 118 return 'Map mask: [$keyType/$valueType] type: $forwardTo';
119 } 119 }
120 } 120 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/types/forwarding_type_mask.dart ('k') | pkg/compiler/lib/src/types/type_mask.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698