Index: pkg/compiler/lib/src/cps_ir/cps_ir_nodes_sexpr.dart |
diff --git a/pkg/compiler/lib/src/cps_ir/cps_ir_nodes_sexpr.dart b/pkg/compiler/lib/src/cps_ir/cps_ir_nodes_sexpr.dart |
index c330117d32beedb69c42ee101f8a1a2a91235291..5cc52ced04083a849c57b64eb39e1d78d6f57f83 100644 |
--- a/pkg/compiler/lib/src/cps_ir/cps_ir_nodes_sexpr.dart |
+++ b/pkg/compiler/lib/src/cps_ir/cps_ir_nodes_sexpr.dart |
@@ -335,6 +335,18 @@ class SExpressionStringifier extends Indentation implements Visitor<String> { |
return '(GetField $object $field)'; |
} |
+ String visitGetStatic(GetStatic node) { |
+ String element = node.element.name; |
+ return '(GetStatic $element)'; |
+ } |
+ |
+ String visitSetStatic(SetStatic node) { |
+ String element = node.element.name; |
+ String value = access(node.value); |
+ String body = indentBlock(() => visit(node.body)); |
+ return '$indentation(SetStatic $element $value\n$body)'; |
+ } |
+ |
String visitCreateBox(CreateBox node) { |
return '(CreateBox)'; |
} |