| Index: runtime/vm/kernel_to_il.cc
|
| diff --git a/runtime/vm/kernel_to_il.cc b/runtime/vm/kernel_to_il.cc
|
| index 98f83f875c075c196f98caebe1be822a81d8460d..bcfe6043e52fdab0518f834ea08dafad24e9ffd2 100644
|
| --- a/runtime/vm/kernel_to_il.cc
|
| +++ b/runtime/vm/kernel_to_il.cc
|
| @@ -4692,12 +4692,13 @@ void FlowGraphBuilder::VisitConditionalExpression(ConditionalExpression* node) {
|
| then_fragment += TranslateExpression(node->then());
|
| then_fragment += StoreLocal(parsed_function_->expression_temp_var());
|
| then_fragment += Drop();
|
| -
|
| ASSERT(stack_ == top);
|
| +
|
| Fragment otherwise_fragment(otherwise_entry);
|
| otherwise_fragment += TranslateExpression(node->otherwise());
|
| otherwise_fragment += StoreLocal(parsed_function_->expression_temp_var());
|
| otherwise_fragment += Drop();
|
| + ASSERT(stack_ == top);
|
|
|
| JoinEntryInstr* join = BuildJoinEntry();
|
| then_fragment += Goto(join);
|
|
|