| 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 8383af08dcac576f9382aef117f84b1294d5f130..b0b397e9b84f4269cbcd8da5e665f96ba87319e4 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
|
| @@ -224,9 +224,7 @@ class SExpressionStringifier extends Indentation implements Visitor<String> {
|
|
|
| String visitSetMutableVariable(SetMutableVariable node) {
|
| String value = access(node.value);
|
| - String body = indentBlock(() => visit(node.body));
|
| - return '$indentation(SetMutableVariable ${access(node.variable)} '
|
| - '$value\n$body)';
|
| + return '(SetMutableVariable ${access(node.variable)} $value)';
|
| }
|
|
|
| String visitTypeCast(TypeCast node) {
|
| @@ -262,8 +260,7 @@ class SExpressionStringifier extends Indentation implements Visitor<String> {
|
| String object = access(node.object);
|
| String field = node.field.name;
|
| String value = access(node.value);
|
| - String body = indentBlock(() => visit(node.body));
|
| - return '$indentation(SetField $object $field $value)\n$body';
|
| + return '(SetField $object $field $value)';
|
| }
|
|
|
| String visitGetField(GetField node) {
|
| @@ -280,8 +277,7 @@ class SExpressionStringifier extends Indentation implements Visitor<String> {
|
| 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)';
|
| + return '(SetStatic $element $value)';
|
| }
|
|
|
| String visitGetLazyStatic(GetLazyStatic node) {
|
| @@ -335,7 +331,6 @@ class SExpressionStringifier extends Indentation implements Visitor<String> {
|
| return '(ApplyBuiltinOperator $operator ($args))';
|
| }
|
|
|
| - @override
|
| String visitForeignCode(ForeignCode node) {
|
| String arguments = node.arguments.map(access).join(' ');
|
| String continuation = node.continuation == null ? ''
|
| @@ -343,20 +338,17 @@ class SExpressionStringifier extends Indentation implements Visitor<String> {
|
| return '(JS ${node.type} ${node.codeTemplate} ($arguments)$continuation)';
|
| }
|
|
|
| - @override
|
| String visitGetLength(GetLength node) {
|
| String object = access(node.object);
|
| return '(GetLength $object)';
|
| }
|
|
|
| - @override
|
| String visitGetIndex(GetIndex node) {
|
| String object = access(node.object);
|
| String index = access(node.index);
|
| return '(GetIndex $object $index)';
|
| }
|
|
|
| - @override
|
| String visitSetIndex(SetIndex node) {
|
| String object = access(node.object);
|
| String index = access(node.index);
|
|
|