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

Issue 10692072: Fix a bug in SSA renaming introduced when using the RemoveFromGraph helper for removing instruction… (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

Fix a bug in SSA renaming introduced when using the RemoveFromGraph helper for removing instructions. The helper function RemoveFromGraph resets previous and next instruction pointers to NULL when deleting an instruction. I changed it to return the successor of the removed instruction so that the function is more convenient to use while iterating over the list of instructions. Committed: https://code.google.com/p/dart/source/detail?r=9332

Patch Set 1 #

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

Messages

Total messages: 2 (0 generated)
Florian Schneider
8 years, 5 months ago (2012-07-03 08:26:08 UTC) #1
Kevin Millikin (Google)
8 years, 5 months ago (2012-07-03 08:32:20 UTC) #2
lgtm

Powered by Google App Engine
This is Rietveld 408576698