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 1269993a8ea9198f8fb55944c242fb40eea71f9a..95a2b8fc7b0b37b1a373b3cf0c3084c8fef5bffe 100644 |
--- a/sdk/lib/_internal/compiler/implementation/ssa/builder.dart |
+++ b/sdk/lib/_internal/compiler/implementation/ssa/builder.dart |
@@ -1996,7 +1996,8 @@ class SsaBuilder extends ResolvedVisitor implements Visitor { |
wrapStatementGraph(elseGraph)); |
conditionBlock.setBlockFlow(info, current); |
- conditionBlock.last.blockInformation = conditionBlock.blockFlow; |
+ HIf ifBlock = conditionBlock.last; |
+ ifBlock.blockInformation = conditionBlock.blockFlow; |
// If the body has any break, attach a synthesized label to the |
// if block. |
@@ -3492,7 +3493,8 @@ class SsaBuilder extends ResolvedVisitor implements Visitor { |
visitNewExpression(NewExpression node) { |
Element element = elements[node.send]; |
if (!Elements.isErroneousElement(element)) { |
- element = element.redirectionTarget; |
+ FunctionElement function = element; |
+ element = function.redirectionTarget; |
} |
if (Elements.isErroneousElement(element)) { |
ErroneousElement error = element; |