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

Side by Side Diff: sdk/lib/_internal/compiler/implementation/compiler.dart

Issue 23819039: Create type masks lazily. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 3 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 dart2js; 5 part of dart2js;
6 6
7 /** 7 /**
8 * If true, print a warning for each method that was resolved, but not 8 * If true, print a warning for each method that was resolved, but not
9 * compiled. 9 * compiled.
10 */ 10 */
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 /// Called during resolution to notify to the backend that the 145 /// Called during resolution to notify to the backend that the
146 /// program has a global variable with a lazy initializer. 146 /// program has a global variable with a lazy initializer.
147 void registerLazyField(TreeElements elements) {} 147 void registerLazyField(TreeElements elements) {}
148 148
149 /// Called during resolution to notify to the backend that the 149 /// Called during resolution to notify to the backend that the
150 /// program uses a type variable as an expression. 150 /// program uses a type variable as an expression.
151 void registerTypeVariableExpression(TreeElements elements) {} 151 void registerTypeVariableExpression(TreeElements elements) {}
152 152
153 /// Called during resolution to notify to the backend that the 153 /// Called during resolution to notify to the backend that the
154 /// program uses a type literal. 154 /// program uses a type literal.
155 void registerTypeLiteral(Element element, TreeElements elements) {} 155 void registerTypeLiteral(Element element,
156 Enqueuer enqueuer,
157 TreeElements elements) {}
156 158
157 /// Called during resolution to notify to the backend that the 159 /// Called during resolution to notify to the backend that the
158 /// program has a catch statement with a stack trace. 160 /// program has a catch statement with a stack trace.
159 void registerStackTraceInCatch(TreeElements elements) {} 161 void registerStackTraceInCatch(TreeElements elements) {}
160 162
161 /// Register an is check to the backend. 163 /// Register an is check to the backend.
162 void registerIsCheck(DartType type, 164 void registerIsCheck(DartType type,
163 Enqueuer enqueuer, 165 Enqueuer enqueuer,
164 TreeElements elements) {} 166 TreeElements elements) {}
165 167
(...skipping 1400 matching lines...) Expand 10 before | Expand all | Expand 10 after
1566 1568
1567 void close() {} 1569 void close() {}
1568 1570
1569 toString() => name; 1571 toString() => name;
1570 1572
1571 /// Convenience method for getting an [api.CompilerOutputProvider]. 1573 /// Convenience method for getting an [api.CompilerOutputProvider].
1572 static NullSink outputProvider(String name, String extension) { 1574 static NullSink outputProvider(String name, String extension) {
1573 return new NullSink('$name.$extension'); 1575 return new NullSink('$name.$extension');
1574 } 1576 }
1575 } 1577 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698