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

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

Issue 2873113004: Add equivalence check of NativeData and InterceptorData (Closed)
Patch Set: Created 3 years, 7 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) 2017, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2017, 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.frontend_strategy; 5 library dart2js.frontend_strategy;
6 6
7 import 'common.dart'; 7 import 'common.dart';
8 import 'common_elements.dart'; 8 import 'common_elements.dart';
9 import 'common/backend_api.dart'; 9 import 'common/backend_api.dart';
10 import 'common/tasks.dart'; 10 import 'common/tasks.dart';
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 /// used in this strategy. 60 /// used in this strategy.
61 ResolutionWorldBuilder createResolutionWorldBuilder( 61 ResolutionWorldBuilder createResolutionWorldBuilder(
62 NativeBasicData nativeBasicData, 62 NativeBasicData nativeBasicData,
63 NativeDataBuilder nativeDataBuilder, 63 NativeDataBuilder nativeDataBuilder,
64 InterceptorDataBuilder interceptorDataBuilder, 64 InterceptorDataBuilder interceptorDataBuilder,
65 SelectorConstraintsStrategy selectorConstraintsStrategy); 65 SelectorConstraintsStrategy selectorConstraintsStrategy);
66 66
67 /// Creates the [WorkItemBuilder] corresponding to how a resolved model for 67 /// Creates the [WorkItemBuilder] corresponding to how a resolved model for
68 /// a single member is obtained in this strategy. 68 /// a single member is obtained in this strategy.
69 WorkItemBuilder createResolutionWorkItemBuilder( 69 WorkItemBuilder createResolutionWorkItemBuilder(
70 NativeBasicData nativeBasicData,
71 NativeDataBuilder nativeDataBuilder,
70 ImpactTransformer impactTransformer); 72 ImpactTransformer impactTransformer);
71 73
72 /// Computes the main function from [mainLibrary] adding additional world 74 /// Computes the main function from [mainLibrary] adding additional world
73 /// impact to [impactBuilder]. 75 /// impact to [impactBuilder].
74 FunctionEntity computeMain( 76 FunctionEntity computeMain(
75 LibraryEntity mainLibrary, WorldImpactBuilder impactBuilder); 77 LibraryEntity mainLibrary, WorldImpactBuilder impactBuilder);
76 78
77 // TODO(johnniwinther): Reuse the following classes between strategies: 79 // TODO(johnniwinther): Reuse the following classes between strategies:
78 80
79 /// Creates the [CustomElementsResolutionAnalysis] for this strategy. 81 /// Creates the [CustomElementsResolutionAnalysis] for this strategy.
(...skipping 16 matching lines...) Expand all
96 abstract class AnnotationProcessor { 98 abstract class AnnotationProcessor {
97 void extractNativeAnnotations( 99 void extractNativeAnnotations(
98 LibraryEntity library, NativeBasicDataBuilder nativeBasicDataBuilder); 100 LibraryEntity library, NativeBasicDataBuilder nativeBasicDataBuilder);
99 101
100 void extractJsInteropAnnotations( 102 void extractJsInteropAnnotations(
101 LibraryEntity library, NativeBasicDataBuilder nativeBasicDataBuilder); 103 LibraryEntity library, NativeBasicDataBuilder nativeBasicDataBuilder);
102 104
103 void processJsInteropAnnotations( 105 void processJsInteropAnnotations(
104 NativeBasicData nativeBasicData, NativeDataBuilder nativeDataBuilder); 106 NativeBasicData nativeBasicData, NativeDataBuilder nativeDataBuilder);
105 } 107 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698