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

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

Issue 10854140: Fix type inference for self-recursive functions (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 dea729d2b454e28546c5d52172704028b31b9a18..d76a97429002e996240e254876737b0f54572eff 100644
--- a/lib/compiler/implementation/enqueue.dart
+++ b/lib/compiler/implementation/enqueue.dart
@@ -88,12 +88,6 @@ class Enqueuer {
queue.add(new WorkItem(element, elements));
}
- void eagerRecompile(Element element) {
- universe.generatedCode.remove(element);
- universe.generatedBailoutCode.remove(element);
- 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