Chromium Code Reviews| 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 |