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

Unified Diff: lib/compiler/implementation/enqueue.dart

Issue 10911006: 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, 4 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/enqueue.dart
diff --git a/lib/compiler/implementation/enqueue.dart b/lib/compiler/implementation/enqueue.dart
index 1172b5f3bdb4a3b9802cc6073eeb008beea43d56..930e75ce0267650b559e6fd2ef5e683fc470287d 100644
--- a/lib/compiler/implementation/enqueue.dart
+++ b/lib/compiler/implementation/enqueue.dart
@@ -334,9 +334,8 @@ class Enqueuer {
});
}
- // TODO(ngeoffray): This should get a type.
- void registerIsCheck(Element element) {
- universe.isChecks.add(element);
+ void registerIsCheck(Type type) {
+ universe.isChecks.add(type);
}
void forEach(f(WorkItem work)) {

Powered by Google App Engine
This is Rietveld 408576698