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

Unified Diff: pkg/compiler/lib/src/ssa/codegen.dart

Issue 2871583002: Pass InterceptorData through ResolutionWorldBuilder and access it through ClosedWorld (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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/compiler/lib/src/ssa/builder_kernel.dart ('k') | pkg/compiler/lib/src/ssa/graph_builder.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/ssa/codegen.dart
diff --git a/pkg/compiler/lib/src/ssa/codegen.dart b/pkg/compiler/lib/src/ssa/codegen.dart
index 2ae4d86578c56abe314e6d32641baf376608e71f..95d59896140b25d961928b6f67782b096b0402ad 100644
--- a/pkg/compiler/lib/src/ssa/codegen.dart
+++ b/pkg/compiler/lib/src/ssa/codegen.dart
@@ -80,7 +80,6 @@ class SsaCodeGeneratorTask extends CompilerTask {
backend.emitter,
backend.nativeCodegenEnqueuer,
backend.checkedModeHelpers,
- backend.interceptorData,
backend.oneShotInterceptorData,
backend.rtiSubstitutions,
backend.rtiEncoder,
@@ -106,7 +105,6 @@ class SsaCodeGeneratorTask extends CompilerTask {
backend.emitter,
backend.nativeCodegenEnqueuer,
backend.checkedModeHelpers,
- backend.interceptorData,
backend.oneShotInterceptorData,
backend.rtiSubstitutions,
backend.rtiEncoder,
@@ -151,7 +149,6 @@ class SsaCodeGenerator implements HVisitor, HBlockInformationVisitor {
final CodeEmitterTask _emitter;
final native.NativeCodegenEnqueuer _nativeEnqueuer;
final CheckedModeHelpers _checkedModeHelpers;
- final InterceptorData _interceptorData;
final OneShotInterceptorData _oneShotInterceptorData;
final RuntimeTypesSubstitutions _rtiSubstitutions;
final RuntimeTypesEncoder _rtiEncoder;
@@ -208,7 +205,6 @@ class SsaCodeGenerator implements HVisitor, HBlockInformationVisitor {
this._emitter,
this._nativeEnqueuer,
this._checkedModeHelpers,
- this._interceptorData,
this._oneShotInterceptorData,
this._rtiSubstitutions,
this._rtiEncoder,
@@ -236,6 +232,8 @@ class SsaCodeGenerator implements HVisitor, HBlockInformationVisitor {
NativeData get _nativeData => _closedWorld.nativeData;
+ InterceptorData get _interceptorData => _closedWorld.interceptorData;
+
bool isGenerateAtUseSite(HInstruction instruction) {
return generateAtUseSite.contains(instruction);
}
« no previous file with comments | « pkg/compiler/lib/src/ssa/builder_kernel.dart ('k') | pkg/compiler/lib/src/ssa/graph_builder.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698