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

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

Issue 2370833002: Replace ClosedWorld.backend with ClosedWorld.backendClasses (Closed)
Patch Set: Created 4 years, 2 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) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, 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.js_helpers.impact; 5 library dart2js.js_helpers.impact;
6 6
7 import '../common/names.dart'; 7 import '../common/names.dart';
8 import '../compiler.dart' show Compiler; 8 import '../compiler.dart' show Compiler;
9 import '../core_types.dart' show CommonElements; 9 import '../core_types.dart' show CommonElements;
10 import '../dart_types.dart' show InterfaceType; 10 import '../dart_types.dart' show InterfaceType;
(...skipping 428 matching lines...) Expand 10 before | Expand all | Expand 10 after
439 _lazyField = new BackendImpact(staticUses: [helpers.cyclicThrowHelper]); 439 _lazyField = new BackendImpact(staticUses: [helpers.cyclicThrowHelper]);
440 } 440 }
441 return _lazyField; 441 return _lazyField;
442 } 442 }
443 443
444 BackendImpact _typeLiteral; 444 BackendImpact _typeLiteral;
445 445
446 BackendImpact get typeLiteral { 446 BackendImpact get typeLiteral {
447 if (_typeLiteral == null) { 447 if (_typeLiteral == null) {
448 _typeLiteral = new BackendImpact( 448 _typeLiteral = new BackendImpact(
449 instantiatedClasses: [backend.typeImplementation], 449 instantiatedClasses: [backend.backendClasses.typeImplementation],
450 staticUses: [helpers.createRuntimeType]); 450 staticUses: [helpers.createRuntimeType]);
451 } 451 }
452 return _typeLiteral; 452 return _typeLiteral;
453 } 453 }
454 454
455 BackendImpact _stackTraceInCatch; 455 BackendImpact _stackTraceInCatch;
456 456
457 BackendImpact get stackTraceInCatch { 457 BackendImpact get stackTraceInCatch {
458 if (_stackTraceInCatch == null) { 458 if (_stackTraceInCatch == null) {
459 _stackTraceInCatch = new BackendImpact( 459 _stackTraceInCatch = new BackendImpact(
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
626 helpers.jsJavaScriptFunctionClass 626 helpers.jsJavaScriptFunctionClass
627 ], 627 ],
628 features: new EnumSet<BackendFeature>.fromValues([ 628 features: new EnumSet<BackendFeature>.fromValues([
629 BackendFeature.needToInitializeDispatchProperty, 629 BackendFeature.needToInitializeDispatchProperty,
630 BackendFeature.needToInitializeIsolateAffinityTag 630 BackendFeature.needToInitializeIsolateAffinityTag
631 ], fixed: true)); 631 ], fixed: true));
632 } 632 }
633 return _interceptorUse; 633 return _interceptorUse;
634 } 634 }
635 } 635 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698