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

Unified Diff: lib/compiler/implementation/js_backend/backend.dart

Issue 10855174: Lazy implementation of final variables. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: rebase wrt CL 10832351. 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/js_backend/backend.dart
diff --git a/lib/compiler/implementation/js_backend/backend.dart b/lib/compiler/implementation/js_backend/backend.dart
index d45604ecf16b333015c477b50e1328fe1439b847..4dee2d18ca71f27f28f7cbaf31076ea56e6a01fc 100644
--- a/lib/compiler/implementation/js_backend/backend.dart
+++ b/lib/compiler/implementation/js_backend/backend.dart
@@ -129,7 +129,7 @@ class JavaScriptBackend extends Backend {
optimizer.prepareForSpeculativeOptimizations(work, graph);
optimizer.optimize(work, graph);
}
- CodeBuffer codeBuffer = generator.generateMethod(work, graph);
+ CodeBuffer codeBuffer = generator.generateCode(work, graph);
compiler.codegenWorld.addGeneratedCode(work, codeBuffer);
invalidateAfterCodegen.forEach(
compiler.enqueuer.codegen.eagerRecompile);

Powered by Google App Engine
This is Rietveld 408576698