Fix issue 9664.
R=lrn@google.com BUG= Review URL: https://codereview.chromium.org//13621003 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20910 260f80e4-7a28-3924-810f-c04153c831b5
This commit is contained in:
@@ -1982,13 +1982,13 @@ class SsaBuilder extends ResolvedVisitor implements Visitor {
|
||||
conditionExitBlock.remove(conditionExitBlock.last);
|
||||
HIfBlockInformation info =
|
||||
new HIfBlockInformation(
|
||||
wrapExpressionGraph(conditionExpression),
|
||||
wrapStatementGraph(bodyGraph),
|
||||
wrapStatementGraph(elseGraph));
|
||||
wrapExpressionGraph(conditionExpression),
|
||||
wrapStatementGraph(bodyGraph),
|
||||
wrapStatementGraph(elseGraph));
|
||||
|
||||
conditionBlock.setBlockFlow(info, current);
|
||||
HIf ifBlock = conditionBlock.last;
|
||||
ifBlock.blockInformation = conditionBlock.blockFlow;
|
||||
conditionExitBlock.setBlockFlow(info, current);
|
||||
HIf ifBlock = conditionExitBlock.last;
|
||||
ifBlock.blockInformation = conditionExitBlock.blockFlow;
|
||||
|
||||
// If the body has any break, attach a synthesized label to the
|
||||
// if block.
|
||||
|
||||
@@ -130,8 +130,6 @@ getter_no_setter_test/01: Fail # http://dartbug.com/5519
|
||||
isnot_malformed_type_test/01: Fail # http://dartbug.com/5519
|
||||
not_enough_positional_arguments_test/01: Fail # http://dartbug.com/5519
|
||||
|
||||
issue9664_test: Crash # http://dartbug.com/9664
|
||||
|
||||
constructor_negative_test: Pass # Wrong reason: the expression 'C()' is valid with class literals.
|
||||
|
||||
throw_expr_test: Fail
|
||||
|
||||
Reference in New Issue
Block a user