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

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: Remove lazy bailout initializers. Created 8 years, 3 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 c96cd0eba00473d7d7754bf000249b85ac1b3e01..21ee29903e14f27dc0068201bb176d393eb0bff0 100644
--- a/lib/compiler/implementation/js_backend/backend.dart
+++ b/lib/compiler/implementation/js_backend/backend.dart
@@ -352,7 +352,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