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

Unified Diff: runtime/vm/kernel_to_il.cc

Issue 2624563002: VM: [Kernel] Status file triaging of language.status (Closed)
Patch Set: - Created 3 years, 11 months 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 | « no previous file | tests/language/language_kernel.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « no previous file | tests/language/language_kernel.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698