| Index: lib/compiler/implementation/ssa/tracer.dart
|
| diff --git a/lib/compiler/implementation/ssa/tracer.dart b/lib/compiler/implementation/ssa/tracer.dart
|
| index 971f7d874a188345fde5cf21fccea02bf58bc094..ea5643728d232bfdf0be5e4e67965380daf0412e 100644
|
| --- a/lib/compiler/implementation/ssa/tracer.dart
|
| +++ b/lib/compiler/implementation/ssa/tracer.dart
|
| @@ -415,8 +415,15 @@ class HInstructionStringifier implements HVisitor<String> {
|
| case HType.UNKNOWN: type = 'unknown'; break;
|
| default: unreachable();
|
| }
|
| - String onString = node.isOn ? "on" : "off";
|
| - return "TypeGuard: ${temporaryId(node.inputs[0])} is $type ($onString)";
|
| + StringBuffer envBuffer = new StringBuffer();
|
| + List<HInstruction> inputs = node.inputs;
|
| + // The last input is the guarded expression.
|
| + for (int i = 0; i < inputs.length - 1; i++) {
|
| + envBuffer.add(" ${temporaryId(inputs[i])}");
|
| + }
|
| + String on = node.isOn ? "on" : "off";
|
| + String id = temporaryId(node.guarded);
|
| + return "TypeGuard($on): $id is $type env: $envBuffer";
|
| }
|
|
|
| String visitIs(HIs node) {
|
|
|