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

Issue 10332139: Fix a pair of flow graph construction issues. (Closed)

Created:
8 years, 7 months ago by Kevin Millikin (Google)
Modified:
8 years, 7 months ago
Reviewers:
srdjan
CC:
reviews_dartlang.org, Vyacheslav Egorov (Google), Florian Schneider
Visibility:
Public.

Description

Fix a pair of flow graph construction issues. The stack height was off by one for throw/rethrow. Change throw and rethrow instructions so they never have successors because visiting the graph and iterating nodes manually with StraightLineSuccessor should agree. R=srdjan@google.com BUG= TEST= Committed: https://code.google.com/p/dart/source/detail?r=7643

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -67 lines) Patch
M runtime/vm/flow_graph_builder.cc View 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/intermediate_language.h View 2 chunks +6 lines, -8 lines 0 comments Download
M runtime/vm/intermediate_language.cc View 1 chunk +9 lines, -58 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Kevin Millikin (Google)
This is needed before computing dominators and inserting phis. We will also need to connect ...
8 years, 7 months ago (2012-05-14 14:23:47 UTC) #1
srdjan
LGTM
8 years, 7 months ago (2012-05-14 23:34:09 UTC) #2
srdjan
8 years, 7 months ago (2012-05-14 23:39:43 UTC) #3
All catch entries are stored in FlowGraphBuilder::catch_entries_. I am not
certain how we should connect those entries to the graph entry. Florian, Slava?

Powered by Google App Engine
This is Rietveld 408576698