Chromium Code Reviews| Index: lib/compiler/implementation/compiler.dart |
| diff --git a/lib/compiler/implementation/compiler.dart b/lib/compiler/implementation/compiler.dart |
| index d7cf15c482e4fa0d7e3a0f64656d9f14823bf99b..4290f238d0614ca8f68341cc927c063cb81d66ab 100644 |
| --- a/lib/compiler/implementation/compiler.dart |
| +++ b/lib/compiler/implementation/compiler.dart |
| @@ -463,8 +463,9 @@ class Compiler implements DiagnosticListener { |
| assert(phase == PHASE_RECOMPILING); |
| while (!world.recompilationCandidates.isEmpty()) { |
| WorkItem work = world.recompilationCandidates.next(); |
| - world.universe.generatedCode.remove(work.element); |
| var oldCode = world.universe.generatedCode[work.element]; |
|
floitsch
2012/06/18 13:20:40
Please type your code.
Søren Gjesse
2012/06/19 14:35:00
Done.
|
| + world.universe.generatedCode.remove(work.element); |
| + world.universe.generatedBailoutCode.remove(work.element); |
| withCurrentElement(work.element, () => work.run(this, world)); |
| var newCode = world.universe.generatedCode[work.element]; |
| if (REPORT_PASS2_OPTIMIZATIONS && newCode != oldCode) { |