Index: sdk/lib/_internal/compiler/implementation/compiler.dart |
diff --git a/sdk/lib/_internal/compiler/implementation/compiler.dart b/sdk/lib/_internal/compiler/implementation/compiler.dart |
index 636fcc530952bc44532781cfc2215c708c93adf1..e16fe4e9b8e2de1d8694a1ad27cb683ae334808e 100644 |
--- a/sdk/lib/_internal/compiler/implementation/compiler.dart |
+++ b/sdk/lib/_internal/compiler/implementation/compiler.dart |
@@ -51,8 +51,8 @@ class WorkItem { |
bool isAnalyzed() => resolutionTree != null; |
void run(Compiler compiler, Enqueuer world) { |
- CodeBuffer codeBuffer = world.universe.generatedCode[element]; |
- if (codeBuffer != null) return; |
+ js.Expression code = world.universe.generatedCode[element]; |
ngeoffray
2013/01/10 10:40:07
Did you measure the memory impact of this change?
sra1
2013/01/10 16:32:42
Is there a convenient way to do this?
|
+ if (code != null) return; |
resolutionTree = compiler.analyze(this, world); |
compiler.codegen(this, world); |
} |