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

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: 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/ssa/tracer.dart
diff --git a/lib/compiler/implementation/ssa/tracer.dart b/lib/compiler/implementation/ssa/tracer.dart
index e3356b045fd755d5c3c6857f36ca08565d84f6b1..9bbf3f632c8dfcb5b92f82c52eb4c3601be14744 100644
--- a/lib/compiler/implementation/ssa/tracer.dart
+++ b/lib/compiler/implementation/ssa/tracer.dart
@@ -415,6 +415,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