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

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

Issue 24057003: Revert "Revert "Fix casts and type assertions on mixins used in native classes."" (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
« no previous file with comments | « no previous file | sdk/lib/_internal/compiler/implementation/enqueue.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 /// Called during resolution to notify to the backend that the 157 /// Called during resolution to notify to the backend that the
158 /// program has a catch statement with a stack trace. 158 /// program has a catch statement with a stack trace.
159 void registerStackTraceInCatch(TreeElements elements) {} 159 void registerStackTraceInCatch(TreeElements elements) {}
160 160
161 /// Register an is check to the backend. 161 /// Register an is check to the backend.
162 void registerIsCheck(DartType type, 162 void registerIsCheck(DartType type,
163 Enqueuer enqueuer, 163 Enqueuer enqueuer,
164 TreeElements elements) {} 164 TreeElements elements) {}
165 165
166 /// Register an as check to the backend. 166 /// Register an as check to the backend.
167 void registerAsCheck(DartType type, TreeElements elements) {} 167 void registerAsCheck(DartType type,
168 Enqueuer enqueuer,
169 TreeElements elements) {}
168 170
169 /// Register that the application may throw a [NoSuchMethodError]. 171 /// Register that the application may throw a [NoSuchMethodError].
170 void registerThrowNoSuchMethod(TreeElements elements) {} 172 void registerThrowNoSuchMethod(TreeElements elements) {}
171 173
172 /// Register that the application may throw a [RuntimeError]. 174 /// Register that the application may throw a [RuntimeError].
173 void registerThrowRuntimeError(TreeElements elements) {} 175 void registerThrowRuntimeError(TreeElements elements) {}
174 176
175 /// Register that the application may throw an 177 /// Register that the application may throw an
176 /// [AbstractClassInstantiationError]. 178 /// [AbstractClassInstantiationError].
177 void registerAbstractClassInstantiation(TreeElements elements) {} 179 void registerAbstractClassInstantiation(TreeElements elements) {}
(...skipping 1386 matching lines...) Expand 10 before | Expand all | Expand 10 after
1564 1566
1565 void close() {} 1567 void close() {}
1566 1568
1567 toString() => name; 1569 toString() => name;
1568 1570
1569 /// Convenience method for getting an [api.CompilerOutputProvider]. 1571 /// Convenience method for getting an [api.CompilerOutputProvider].
1570 static NullSink outputProvider(String name, String extension) { 1572 static NullSink outputProvider(String name, String extension) {
1571 return new NullSink('$name.$extension'); 1573 return new NullSink('$name.$extension');
1572 } 1574 }
1573 } 1575 }
OLDNEW
« no previous file with comments | « no previous file | sdk/lib/_internal/compiler/implementation/enqueue.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698