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

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

Issue 2260223002: Add SSA instructions for reified type information (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: reformat Created 4 years, 4 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 '../compiler.dart' show Compiler; 7 import '../compiler.dart' show Compiler;
8 import '../core_types.dart' show CoreClasses; 8 import '../core_types.dart' show CoreClasses;
9 import '../dart_types.dart' show InterfaceType; 9 import '../dart_types.dart' show InterfaceType;
10 import '../elements/elements.dart' show ClassElement, Element; 10 import '../elements/elements.dart' show ClassElement, Element;
(...skipping 27 matching lines...) Expand all
38 38
39 CoreClasses get coreClasses => compiler.coreClasses; 39 CoreClasses get coreClasses => compiler.coreClasses;
40 40
41 BackendImpact _getRuntimeTypeArgument; 41 BackendImpact _getRuntimeTypeArgument;
42 42
43 BackendImpact get getRuntimeTypeArgument { 43 BackendImpact get getRuntimeTypeArgument {
44 if (_getRuntimeTypeArgument == null) { 44 if (_getRuntimeTypeArgument == null) {
45 _getRuntimeTypeArgument = new BackendImpact(staticUses: [ 45 _getRuntimeTypeArgument = new BackendImpact(staticUses: [
46 helpers.getRuntimeTypeArgument, 46 helpers.getRuntimeTypeArgument,
47 helpers.getTypeArgumentByIndex, 47 helpers.getTypeArgumentByIndex,
48 helpers.copyTypeArguments
49 ]); 48 ]);
50 } 49 }
51 return _getRuntimeTypeArgument; 50 return _getRuntimeTypeArgument;
52 } 51 }
53 52
54 BackendImpact _computeSignature; 53 BackendImpact _computeSignature;
55 54
56 BackendImpact get computeSignature { 55 BackendImpact get computeSignature {
57 if (_computeSignature == null) { 56 if (_computeSignature == null) {
58 _computeSignature = new BackendImpact(staticUses: [ 57 _computeSignature = new BackendImpact(staticUses: [
(...skipping 539 matching lines...) Expand 10 before | Expand all | Expand 10 after
598 BackendImpact _closure; 597 BackendImpact _closure;
599 598
600 BackendImpact get closure { 599 BackendImpact get closure {
601 if (_closure == null) { 600 if (_closure == null) {
602 _closure = 601 _closure =
603 new BackendImpact(instantiatedClasses: [coreClasses.functionClass]); 602 new BackendImpact(instantiatedClasses: [coreClasses.functionClass]);
604 } 603 }
605 return _closure; 604 return _closure;
606 } 605 }
607 } 606 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/js_backend/backend_helpers.dart ('k') | pkg/compiler/lib/src/ssa/builder.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698