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 10956013: Reapply "A simpler scheme for garbage collection of ureachable phi inputs." (Closed)

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

Description

Reapply "A simpler scheme for garbage collection of ureachable phi inputs." Fix two issues: * Unreachable code elimination did not correctly identify all unreachable blocks. * Loop detection in the register allocator relied on the block IDs. R=vegorov@google.com BUG= Committed: https://code.google.com/p/dart/source/detail?r=12756

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+135 lines, -141 lines) Patch
M runtime/vm/flow_graph.cc View 1 chunk +0 lines, -1 line 0 comments Download
M runtime/vm/flow_graph_allocator.cc View 2 chunks +5 lines, -2 lines 1 comment Download
M runtime/vm/flow_graph_builder.h View 2 chunks +3 lines, -0 lines 0 comments Download
M runtime/vm/flow_graph_builder.cc View 16 chunks +43 lines, -22 lines 0 comments Download
M runtime/vm/flow_graph_optimizer.cc View 4 chunks +55 lines, -23 lines 2 comments Download
M runtime/vm/growable_array.h View 1 chunk +0 lines, -8 lines 0 comments Download
M runtime/vm/intermediate_language.h View 9 chunks +13 lines, -34 lines 0 comments Download
M runtime/vm/intermediate_language.cc View 2 chunks +14 lines, -49 lines 0 comments Download
M runtime/vm/intermediate_language_test.cc View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Kevin Millikin (Google)
8 years, 3 months ago (2012-09-20 13:46:39 UTC) #1
Kevin Millikin (Google)
https://codereview.chromium.org/10956013/diff/1/runtime/vm/flow_graph_allocator.cc File runtime/vm/flow_graph_allocator.cc (right): https://codereview.chromium.org/10956013/diff/1/runtime/vm/flow_graph_allocator.cc#newcode1131 runtime/vm/flow_graph_allocator.cc:1131: // This algorithm relies on the assumption that we ...
8 years, 3 months ago (2012-09-20 13:48:17 UTC) #2
Vyacheslav Egorov (Google)
8 years, 3 months ago (2012-09-21 14:48:05 UTC) #3
lgtm

https://chromiumcodereview.appspot.com/10956013/diff/1/runtime/vm/flow_graph_...
File runtime/vm/flow_graph_optimizer.cc (right):

https://chromiumcodereview.appspot.com/10956013/diff/1/runtime/vm/flow_graph_...
runtime/vm/flow_graph_optimizer.cc:1935: BlockEntryInstr* entry = NULL;
->GetBlock() instead of custom loop

Powered by Google App Engine
This is Rietveld 408576698