Index: pkg/compiler/lib/src/ssa/ssa_branch_builder.dart |
diff --git a/pkg/compiler/lib/src/ssa/ssa_branch_builder.dart b/pkg/compiler/lib/src/ssa/ssa_branch_builder.dart |
index 86f46d156aa40d1d3f1f54b821b614b8008cba26..0b5bf9e77e1788feeb214ff6e4dd5c29e075b092 100644 |
--- a/pkg/compiler/lib/src/ssa/ssa_branch_builder.dart |
+++ b/pkg/compiler/lib/src/ssa/ssa_branch_builder.dart |
@@ -27,8 +27,7 @@ class SsaBranchBuilder { |
void checkNotAborted() { |
if (builder.isAborted()) { |
- throw new SpannableAssertionFailure( |
- diagnosticNode, "aborted control flow"); |
+ failedAt(diagnosticNode, "aborted control flow"); |
} |
} |