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

Unified Diff: frog/leg/compiler.dart

Issue 9667027: Collect is checks to only emit the ones that are needed. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 9 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
« no previous file with comments | « no previous file | frog/leg/emitter.dart » ('j') | frog/leg/universe.dart » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: frog/leg/compiler.dart
===================================================================
--- frog/leg/compiler.dart (revision 5280)
+++ frog/leg/compiler.dart (working copy)
@@ -361,6 +361,11 @@
universe.instantiatedClasses.add(element);
}
+ // TODO(ngeoffray): This should get a type.
+ void registerIsCheck(Element element) {
+ universe.isChecks.add(element);
+ }
+
Type resolveType(ClassElement element) {
return withCurrentElement(element, () => resolver.resolveType(element));
}
« no previous file with comments | « no previous file | frog/leg/emitter.dart » ('j') | frog/leg/universe.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698