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

Issue 10735002: Add support for fixed parameters in SSA builder and fix a bug in the pre-order graph traversal. (Closed)

Created:
8 years, 5 months ago by Florian Schneider
Modified:
8 years, 5 months ago
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

Add support for fixed parameters in SSA builder and fix a bug in the pre-order graph traversal. Each fixed parameter is initially defined by a ParameterInstr as definition. This definition is not in the instruction stream, but just in the initial environment at the graph entry so that the live range of all parameters start at the same point. The pre-order spanning tree was computed in the wrong way which caused test failures when building SSA because renaming relies on the dominator tree which depends on the preorder spanning tree. Also change the IL printing functions to be more compatible with the visualizer tool. Committed: https://code.google.com/p/dart/source/detail?r=9391

Patch Set 1 #

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+84 lines, -33 lines) Patch
M vm/flow_graph_builder.cc View 1 2 chunks +21 lines, -13 lines 0 comments Download
M vm/il_printer.cc View 10 chunks +24 lines, -12 lines 0 comments Download
M vm/intermediate_language.h View 3 chunks +20 lines, -4 lines 0 comments Download
M vm/intermediate_language.cc View 2 chunks +19 lines, -4 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
Florian Schneider
8 years, 5 months ago (2012-07-04 09:34:00 UTC) #1
Kevin Millikin (Google)
8 years, 5 months ago (2012-07-04 10:20:46 UTC) #2
lgtm

Powered by Google App Engine
This is Rietveld 408576698