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

Unified Diff: lib/compiler/implementation/ssa/tracer.dart

Issue 10855174: Lazy implementation of final variables. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix tests. 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/ssa/tracer.dart
diff --git a/lib/compiler/implementation/ssa/tracer.dart b/lib/compiler/implementation/ssa/tracer.dart
index 154e2fb860d9f86a0d88437231fade55db6eda5a..2d7318639670fd566507bca7b209cfaee39cceb4 100644
--- a/lib/compiler/implementation/ssa/tracer.dart
+++ b/lib/compiler/implementation/ssa/tracer.dart
@@ -408,6 +408,10 @@ class HInstructionStringifier implements HVisitor<String> {
String visitStatic(HStatic node)
=> "Static ${node.element.name.slowToString()}";
+
+ String visitLazyStatic(HLazyStatic node)
+ => "LazyStatic ${node.element.name.slowToString()}";
+
String visitStaticStore(HStaticStore node) {
String lhs = node.element.name.slowToString();
return "Static $lhs = ${temporaryId(node.inputs[0])}";

Powered by Google App Engine
This is Rietveld 408576698