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

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

Issue 1352533002: 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
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
156 /// Called to notify to the backend that an interface type has been 162 /// Called to notify to the backend that an interface type has been
157 /// instantiated. 163 /// instantiated.
158 void registerInstantiatedType(InterfaceType type, Registry registry) {} 164 void registerInstantiatedType(InterfaceType type, Registry registry) {}
159 165
160 /// Register an is check to the backend. 166 /// Register an is check to the backend.
161 void registerIsCheckForCodegen(DartType type, 167 void registerIsCheckForCodegen(DartType type,
162 Enqueuer enqueuer, 168 Enqueuer enqueuer,
163 Registry registry) {} 169 Registry registry) {}
164 170
165 /// Register a runtime type variable bound tests between [typeArgument] and 171 /// Register a runtime type variable bound tests between [typeArgument] and
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
361 367
362 void forgetElement(Element element) {} 368 void forgetElement(Element element) {}
363 369
364 void registerMainHasArguments(Enqueuer enqueuer) {} 370 void registerMainHasArguments(Enqueuer enqueuer) {}
365 371
366 void registerAsyncMarker(FunctionElement element, 372 void registerAsyncMarker(FunctionElement element,
367 Enqueuer enqueuer, 373 Enqueuer enqueuer,
368 Registry registry) {} 374 Registry registry) {}
369 } 375 }
370 376
OLDNEW
« no previous file with comments | « no previous file | pkg/compiler/lib/src/common/codegen.dart » ('j') | pkg/compiler/lib/src/world.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698