Index: lib/compiler/implementation/ssa/tracer.dart |
diff --git a/lib/compiler/implementation/ssa/tracer.dart b/lib/compiler/implementation/ssa/tracer.dart |
index 4c3fcffa2fe2fa4e447e104bd1b2754681f497a0..b08bfd0a2bd5cfb563777136519a6c0014d13ce1 100644 |
--- a/lib/compiler/implementation/ssa/tracer.dart |
+++ b/lib/compiler/implementation/ssa/tracer.dart |
@@ -446,7 +446,7 @@ class HInstructionStringifier implements HVisitor<String> { |
buf.add(", "); |
} |
buf.add("default: B"); |
- buf.add(node.block.successors.last().id); |
+ buf.add(node.block.successors.last.id); |
return buf.toString(); |
} |
@@ -472,7 +472,7 @@ class HInstructionStringifier implements HVisitor<String> { |
} |
return "Try: $tryBlock, Catch: $catchBlock, Finally: $finallyBlock, " |
- "Join: B${successors.last().id}"; |
+ "Join: B${successors.last.id}"; |
} |
String visitTypeGuard(HTypeGuard node) { |