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

Issue 9456009: Fix a pair of bugs in the translation of 'if' nodes. (Closed)

Created:
8 years, 10 months ago by Kevin Millikin (Google)
Modified:
8 years, 10 months ago
Reviewers:
srdjan
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Fix a pair of bugs in the translation of 'if' nodes. The condition graph fragment was appended twice, and the join did not properly handle the case of nonlocal exits from the arms of the 'if'. R=srdjan@google.com BUG= TEST=all tests pass in x64 release mode with --use_new_compiler Committed: https://code.google.com/p/dart/source/detail?r=4545

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -3 lines) Patch
M runtime/vm/flow_graph_builder.cc View 3 chunks +9 lines, -3 lines 1 comment Download

Messages

Total messages: 3 (0 generated)
Kevin Millikin (Google)
8 years, 10 months ago (2012-02-23 11:41:54 UTC) #1
srdjan
LGTM
8 years, 10 months ago (2012-02-23 16:19:32 UTC) #2
srdjan
8 years, 10 months ago (2012-02-23 16:27:22 UTC) #3
https://chromiumcodereview.appspot.com/9456009/diff/1/runtime/vm/flow_graph_b...
File runtime/vm/flow_graph_builder.cc (right):

https://chromiumcodereview.appspot.com/9456009/diff/1/runtime/vm/flow_graph_b...
runtime/vm/flow_graph_builder.cc:68: false_fragment.is_empty() ? false_entry :
false_fragment.exit();
When can false_exit and true_exit be NULL, i.e., when can
false/true_fragment.exit() be NULL?

Powered by Google App Engine
This is Rietveld 408576698