Index: sdk/lib/_internal/compiler/implementation/ssa/builder.dart |
diff --git a/sdk/lib/_internal/compiler/implementation/ssa/builder.dart b/sdk/lib/_internal/compiler/implementation/ssa/builder.dart |
index 5f49bd6c1ecc7a850afea139825f842af57df44a..7a47b50e9b3d929c8813e2bad563ff94a5a05288 100644 |
--- a/sdk/lib/_internal/compiler/implementation/ssa/builder.dart |
+++ b/sdk/lib/_internal/compiler/implementation/ssa/builder.dart |
@@ -4793,7 +4793,8 @@ abstract class SsaFromAstMixin |
visitNodeList(NodeList node) { |
for (Link<Node> link = node.nodes; !link.isEmpty; link = link.tail) { |
if (isAborted()) { |
- compiler.reportWarning(link.head, 'dead code'); |
+ compiler.reportWarning(link.head, |
+ MessageKind.GENERIC, {'text': 'dead code'}); |
} else { |
visit(link.head); |
} |