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

Unified Diff: lib/compiler/implementation/js_backend/emitter.dart

Issue 10917110: Revert "Collect the types used in is-checks in the resolver phase." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 3 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: lib/compiler/implementation/js_backend/emitter.dart
diff --git a/lib/compiler/implementation/js_backend/emitter.dart b/lib/compiler/implementation/js_backend/emitter.dart
index 44c06daa01e5a8485dee7334f585672bb73bbb40..f63d93fe81bac85692c270522be4a6cba4c5c4bb 100644
--- a/lib/compiler/implementation/js_backend/emitter.dart
+++ b/lib/compiler/implementation/js_backend/emitter.dart
@@ -664,7 +664,7 @@ function(prototype, staticName, fieldName, getterName, lazyValue) {
void generateTypeTests(ClassElement cls,
void generateTypeTest(ClassElement element)) {
- if (compiler.codegenWorld.checkedClasses.contains(cls)) {
+ if (compiler.codegenWorld.isChecks.contains(cls)) {
generateTypeTest(cls);
}
generateInterfacesIsTests(cls, generateTypeTest, new Set<Element>());
@@ -676,7 +676,7 @@ function(prototype, staticName, fieldName, getterName, lazyValue) {
for (DartType interfaceType in cls.interfaces) {
Element element = interfaceType.element;
if (!alreadyGenerated.contains(element) &&
- compiler.codegenWorld.checkedClasses.contains(element)) {
+ compiler.codegenWorld.isChecks.contains(element)) {
alreadyGenerated.add(element);
generateTypeTest(element);
}
« no previous file with comments | « lib/compiler/implementation/enqueue.dart ('k') | lib/compiler/implementation/js_backend/native_emitter.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698