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

Side by Side Diff: pkg/compiler/lib/src/common/backend_api.dart

Issue 1354603002: Revert "Enqueue superclasses instead of supertypes." (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 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
« no previous file with comments | « no previous file | pkg/compiler/lib/src/common/codegen.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 library dart2js.backend_api; 5 library dart2js.backend_api;
6 6
7 import 'dart:async' show Future; 7 import 'dart:async' show Future;
8 8
9 import '../compiler.dart' show 9 import '../compiler.dart' show
10 Compiler; 10 Compiler;
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 Element annotatedElement, 146 Element annotatedElement,
147 Registry registry) {} 147 Registry registry) {}
148 148
149 /// Called to notify to the backend that a class is being instantiated. 149 /// Called to notify to the backend that a class is being instantiated.
150 // TODO(johnniwinther): Remove this. It's only called once for each [cls] and 150 // TODO(johnniwinther): Remove this. It's only called once for each [cls] and
151 // only with [Compiler.globalDependencies] as [registry]. 151 // only with [Compiler.globalDependencies] as [registry].
152 void registerInstantiatedClass(ClassElement cls, 152 void registerInstantiatedClass(ClassElement cls,
153 Enqueuer enqueuer, 153 Enqueuer enqueuer,
154 Registry registry) {} 154 Registry registry) {}
155 155
156 /// Called to notify to the backend that a class is implemented by an
157 /// instantiated class.
158 void registerImplementedClass(ClassElement cls,
159 Enqueuer enqueuer,
160 Registry registry) {}
161
162 /// Called to notify to the backend that an interface type has been 156 /// Called to notify to the backend that an interface type has been
163 /// instantiated. 157 /// instantiated.
164 void registerInstantiatedType(InterfaceType type, Registry registry) {} 158 void registerInstantiatedType(InterfaceType type, Registry registry) {}
165 159
166 /// Register an is check to the backend. 160 /// Register an is check to the backend.
167 void registerIsCheckForCodegen(DartType type, 161 void registerIsCheckForCodegen(DartType type,
168 Enqueuer enqueuer, 162 Enqueuer enqueuer,
169 Registry registry) {} 163 Registry registry) {}
170 164
171 /// Register a runtime type variable bound tests between [typeArgument] and 165 /// Register a runtime type variable bound tests between [typeArgument] and
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
364 358
365 void forgetElement(Element element) {} 359 void forgetElement(Element element) {}
366 360
367 void registerMainHasArguments(Enqueuer enqueuer) {} 361 void registerMainHasArguments(Enqueuer enqueuer) {}
368 362
369 void registerAsyncMarker(FunctionElement element, 363 void registerAsyncMarker(FunctionElement element,
370 Enqueuer enqueuer, 364 Enqueuer enqueuer,
371 Registry registry) {} 365 Registry registry) {}
372 } 366 }
373 367
OLDNEW
« no previous file with comments | « no previous file | pkg/compiler/lib/src/common/codegen.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698