Index: pkg/compiler/lib/src/js_emitter/startup_emitter/fragment_emitter.dart |
diff --git a/pkg/compiler/lib/src/js_emitter/startup_emitter/fragment_emitter.dart b/pkg/compiler/lib/src/js_emitter/startup_emitter/fragment_emitter.dart |
index 21720c61e252bab6a6bd4efc8271aca53fff0f43..875d81cec2d1a633133e9e86f1b2cc6de7fdba33 100644 |
--- a/pkg/compiler/lib/src/js_emitter/startup_emitter/fragment_emitter.dart |
+++ b/pkg/compiler/lib/src/js_emitter/startup_emitter/fragment_emitter.dart |
@@ -443,13 +443,10 @@ class FragmentEmitter { |
final JavaScriptBackend backend; |
final ConstantEmitter constantEmitter; |
final ModelEmitter modelEmitter; |
+ final InterceptorData _interceptorData; |
FragmentEmitter(this.compiler, this.namer, this.backend, this.constantEmitter, |
- this.modelEmitter); |
- |
- InterceptorData get _interceptorData => |
- // TODO(johnniwinther): Pass [InterceptorData] directly? |
- modelEmitter.nativeEmitter.interceptorData; |
+ this.modelEmitter, this._interceptorData); |
js.Expression generateEmbeddedGlobalAccess(String global) => |
modelEmitter.generateEmbeddedGlobalAccess(global); |