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

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

Issue 10827181: Collect call site information and use that for estimating parameter types (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Addressed review comments 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 b2ff2a0985dfcb9c952f669c548a925e7eeb745a..c22c9d202b774f96f4e03529f5672361f0d08775 100644
--- a/lib/compiler/implementation/enqueue.dart
+++ b/lib/compiler/implementation/enqueue.dart
@@ -88,6 +88,12 @@ class Enqueuer {
queue.add(new WorkItem(element, elements));
}
+ void eagerRecompile(Element element) {
ahe 2012/08/07 11:23:26 How is this "eager"?
Søren Gjesse 2012/08/08 10:36:02 It is eager in the sense that it is recompiled thr
ahe 2012/08/08 13:00:27 I find this name confusing. But I don't have a bet
+ universe.generatedCode[element] = null;
+ universe.generatedBailoutCode[element] = null;
+ addToWorkList(element);
+ }
+
bool canBeRecompiled(Element element) {
// Only member functions can be recompiled. An exception to this is members
// of closures. They are processed as part of the enclosing function and not

Powered by Google App Engine
This is Rietveld 408576698