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

Unified Diff: pkg/compiler/lib/src/js_emitter/old_emitter/emitter.dart

Issue 880923003: dart2js: store typeToInterceptorMap in the model. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rebase Created 5 years, 11 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/old_emitter/emitter.dart
diff --git a/pkg/compiler/lib/src/js_emitter/old_emitter/emitter.dart b/pkg/compiler/lib/src/js_emitter/old_emitter/emitter.dart
index 0665c0a9f8430c043b1b0d58509093ae7cc1a9ad..bb51e1d0456c51fe574e6ebb18a7e2a64732ea16 100644
--- a/pkg/compiler/lib/src/js_emitter/old_emitter/emitter.dart
+++ b/pkg/compiler/lib/src/js_emitter/old_emitter/emitter.dart
@@ -1483,7 +1483,7 @@ class OldEmitter implements Emitter {
// Static field initializations require the classes and compile-time
// constants to be set up.
emitStaticNonFinalFieldInitializations(mainOutput, mainOutputUnit);
- interceptorEmitter.emitTypeToInterceptorMap(mainOutput);
+ interceptorEmitter.emitTypeToInterceptorMap(program, mainOutput);
emitLazilyInitializedStaticFields(mainOutput);
mainOutput.add('\n');

Powered by Google App Engine
This is Rietveld 408576698