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

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

Issue 1469353004: Restrict backend misuse (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years 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.compiler_base; 5 library dart2js.compiler_base;
6 6
7 import 'dart:async' show 7 import 'dart:async' show
8 EventSink, 8 EventSink,
9 Future; 9 Future;
10 10
(...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after
318 // Initialized when dart:mirrors is loaded. 318 // Initialized when dart:mirrors is loaded.
319 ClassElement mirrorsUsedClass; 319 ClassElement mirrorsUsedClass;
320 320
321 // Initialized after mirrorSystemClass has been resolved. 321 // Initialized after mirrorSystemClass has been resolved.
322 FunctionElement mirrorSystemGetNameFunction; 322 FunctionElement mirrorSystemGetNameFunction;
323 323
324 // Initialized when dart:_internal is loaded. 324 // Initialized when dart:_internal is loaded.
325 ClassElement symbolImplementationClass; 325 ClassElement symbolImplementationClass;
326 326
327 // Initialized when symbolImplementationClass has been resolved. 327 // Initialized when symbolImplementationClass has been resolved.
328 // TODO(johnniwinther): Move this to [BackendHelpers].
328 FunctionElement symbolValidatedConstructor; 329 FunctionElement symbolValidatedConstructor;
329 330
330 // Initialized when mirrorsUsedClass has been resolved. 331 // Initialized when mirrorsUsedClass has been resolved.
331 FunctionElement mirrorsUsedConstructor; 332 FunctionElement mirrorsUsedConstructor;
332 333
333 // Initialized when dart:mirrors is loaded. 334 // Initialized when dart:mirrors is loaded.
334 ClassElement deferredLibraryClass; 335 ClassElement deferredLibraryClass;
335 336
336 /// Document class from dart:mirrors. 337 /// Document class from dart:mirrors.
337 ClassElement documentClass; 338 ClassElement documentClass;
(...skipping 1753 matching lines...) Expand 10 before | Expand all | Expand 10 after
2091 if (_otherDependencies == null) { 2092 if (_otherDependencies == null) {
2092 _otherDependencies = new Setlet<Element>(); 2093 _otherDependencies = new Setlet<Element>();
2093 } 2094 }
2094 _otherDependencies.add(element.implementation); 2095 _otherDependencies.add(element.implementation);
2095 } 2096 }
2096 2097
2097 Iterable<Element> get otherDependencies { 2098 Iterable<Element> get otherDependencies {
2098 return _otherDependencies != null ? _otherDependencies : const <Element>[]; 2099 return _otherDependencies != null ? _otherDependencies : const <Element>[];
2099 } 2100 }
2100 } 2101 }
OLDNEW
« no previous file with comments | « no previous file | pkg/compiler/lib/src/js_backend/backend.dart » ('j') | pkg/compiler/lib/src/js_backend/backend.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698