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

Unified Diff: frog/leg/universe.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 | « frog/leg/ssa/codegen.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: frog/leg/universe.dart
===================================================================
--- frog/leg/universe.dart (revision 5280)
+++ frog/leg/universe.dart (working copy)
@@ -11,6 +11,8 @@
final Set<SourceString> invokedGetters;
final Set<SourceString> invokedSetters;
final Map<String, LibraryElement> libraries;
+ // TODO(ngeoffray): This should be a Type.
ahe 2012/03/10 15:48:47 Type -> Set<Type>
ngeoffray 2012/03/10 17:05:40 Done.
+ final Set<ClassElement> isChecks;
Universe() : generatedCode = new Map<Element, String>(),
generatedBailoutCode = new Map<Element, String>(),
@@ -19,7 +21,8 @@
staticFunctionsNeedingGetter = new Set<FunctionElement>(),
invokedNames = new Map<SourceString, Set<Invocation>>(),
invokedGetters = new Set<SourceString>(),
- invokedSetters = new Set<SourceString>();
+ invokedSetters = new Set<SourceString>(),
+ isChecks = new Set<ClassElement>();
void addGeneratedCode(WorkItem work, String code) {
if (work.isBailoutVersion()) {
« no previous file with comments | « frog/leg/ssa/codegen.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698