Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(271)

Unified Diff: sdk/lib/_internal/compiler/implementation/ssa/builder.dart

Issue 11275188: Merge of ErroneousElement and ErroneousFunctionElement (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Status updated Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sdk/lib/_internal/compiler/implementation/resolution/members.dart ('k') | tests/co19/co19-dart2dart.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 db63457ecbf9f5de6095e5cf639ededaae183727..cab86dd5aa5504f8855e7144bd3a9d0b860804a3 100644
--- a/sdk/lib/_internal/compiler/implementation/ssa/builder.dart
+++ b/sdk/lib/_internal/compiler/implementation/ssa/builder.dart
@@ -2264,7 +2264,7 @@ class SsaBuilder extends ResolvedVisitor implements Visitor {
}
String getTargetName(ErroneousElement error, [String prefix]) {
- String result = error.targetName.slowToString();
+ String result = error.name.slowToString();
if (?prefix) {
result = '$prefix $result';
}
@@ -4345,7 +4345,7 @@ class SsaBuilder extends ResolvedVisitor implements Visitor {
if (endFinallyBlock != null) {
endFinallyBlock.addSuccessor(exitBlock);
}
-
+
// If a block inside try/catch aborts (eg with a return statement),
// we explicitely mark this block a predecessor of the catch
// block and the finally block.
« no previous file with comments | « sdk/lib/_internal/compiler/implementation/resolution/members.dart ('k') | tests/co19/co19-dart2dart.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698