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

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

Issue 1344733003: dart2js: Register helpers for updating send to type variable. (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 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 /// Call this method to enable support for `noSuchMethod`. 205 /// Call this method to enable support for `noSuchMethod`.
206 void enableNoSuchMethod(Enqueuer enqueuer) {} 206 void enableNoSuchMethod(Enqueuer enqueuer) {}
207 207
208 /// Returns whether or not `noSuchMethod` support has been enabled. 208 /// Returns whether or not `noSuchMethod` support has been enabled.
209 bool get enabledNoSuchMethod => false; 209 bool get enabledNoSuchMethod => false;
210 210
211 /// Call this method to enable support for isolates. 211 /// Call this method to enable support for isolates.
212 void enableIsolateSupport(Enqueuer enqueuer) {} 212 void enableIsolateSupport(Enqueuer enqueuer) {}
213 213
214 void registerRequiredType(DartType type, Element enclosingElement) {} 214 void registerRequiredType(DartType type, Element enclosingElement) {}
215 void registerClassUsingVariableExpression(ClassElement cls) {}
216 215
217 void registerConstSymbol(String name, Registry registry) {} 216 void registerConstSymbol(String name, Registry registry) {}
218 void registerNewSymbol(Registry registry) {} 217 void registerNewSymbol(Registry registry) {}
219 218
220 bool isNullImplementation(ClassElement cls) { 219 bool isNullImplementation(ClassElement cls) {
221 return cls == compiler.nullClass; 220 return cls == compiler.nullClass;
222 } 221 }
223 222
224 ClassElement get intImplementation => compiler.intClass; 223 ClassElement get intImplementation => compiler.intClass;
225 ClassElement get doubleImplementation => compiler.doubleClass; 224 ClassElement get doubleImplementation => compiler.doubleClass;
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
362 361
363 void forgetElement(Element element) {} 362 void forgetElement(Element element) {}
364 363
365 void registerMainHasArguments(Enqueuer enqueuer) {} 364 void registerMainHasArguments(Enqueuer enqueuer) {}
366 365
367 void registerAsyncMarker(FunctionElement element, 366 void registerAsyncMarker(FunctionElement element,
368 Enqueuer enqueuer, 367 Enqueuer enqueuer,
369 Registry registry) {} 368 Registry registry) {}
370 } 369 }
371 370
OLDNEW
« no previous file with comments | « no previous file | pkg/compiler/lib/src/common/resolution.dart » ('j') | pkg/compiler/lib/src/common/resolution.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698