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

Unified Diff: pkg/compiler/lib/src/js_emitter/class_stub_generator.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
Index: pkg/compiler/lib/src/js_emitter/class_stub_generator.dart
diff --git a/pkg/compiler/lib/src/js_emitter/class_stub_generator.dart b/pkg/compiler/lib/src/js_emitter/class_stub_generator.dart
index 9c353c4b2aaada121bd675074ec916a0646babb2..5b154f070053260dd67903e19f3adf08e00ece5d 100644
--- a/pkg/compiler/lib/src/js_emitter/class_stub_generator.dart
+++ b/pkg/compiler/lib/src/js_emitter/class_stub_generator.dart
@@ -24,15 +24,16 @@ class ClassStubGenerator {
final Namer _namer;
final CodegenWorldBuilder _worldBuilder;
final ClosedWorld _closedWorld;
- final InterceptorData _interceptorData;
final bool enableMinification;
final Emitter _emitter;
final CommonElements _commonElements;
ClassStubGenerator(this._emitter, this._commonElements, this._namer,
- this._worldBuilder, this._interceptorData, this._closedWorld,
+ this._worldBuilder, this._closedWorld,
{this.enableMinification});
+ InterceptorData get _interceptorData => _closedWorld.interceptorData;
+
jsAst.Expression generateClassConstructor(
ClassEntity classElement, Iterable<jsAst.Name> fields, bool hasRtiField) {
// TODO(sra): Implement placeholders in VariableDeclaration position:
« no previous file with comments | « pkg/compiler/lib/src/js_backend/interceptor_data.dart ('k') | pkg/compiler/lib/src/js_emitter/code_emitter_task.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698