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

Unified Diff: pkg/compiler/lib/src/js_backend/native_emitter.dart

Issue 763123002: dart2js: Split TypeTestEmitter into a registry and an emitter. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: full diff Created 6 years, 1 month 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 | « no previous file | pkg/compiler/lib/src/js_emitter/code_emitter_task.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/js_backend/native_emitter.dart
diff --git a/pkg/compiler/lib/src/js_backend/native_emitter.dart b/pkg/compiler/lib/src/js_backend/native_emitter.dart
index d58559459fe383612e018ced02e7d83443bd215e..3c126823f11018939c31b4e0cee3987827abd08d 100644
--- a/pkg/compiler/lib/src/js_backend/native_emitter.dart
+++ b/pkg/compiler/lib/src/js_backend/native_emitter.dart
@@ -112,7 +112,7 @@ class NativeEmitter {
Set<ClassElement> neededByConstant =
emitterTask.interceptorsReferencedFromConstants();
Set<ClassElement> modifiedClasses =
- emitterTask.typeTestEmitter.classesModifiedByEmitRuntimeTypeSupport();
+ emitterTask.typeTestRegistry.classesModifiedByEmitRuntimeTypeSupport();
for (ClassElement classElement in preOrder.reversed) {
// Post-order traversal ensures we visit the subclasses before their
@@ -313,7 +313,7 @@ class NativeEmitter {
classElement, builder);
emitterTask.oldEmitter.classEmitter.emitInstanceMembers(
classElement, builder);
- emitterTask.typeTestEmitter.emitIsTests(classElement, builder);
+ emitterTask.oldEmitter.typeTestEmitter.emitIsTests(classElement, builder);
if (!hasFields &&
builder.properties.length == propertyCount &&
« no previous file with comments | « no previous file | 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