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

Issue 1159005: Initial support for marking live code. (Closed)

Created:
10 years, 9 months ago by Kevin Millikin (Chromium)
Modified:
9 years, 7 months ago
Reviewers:
fschneider
CC:
v8-dev
Visibility:
Public.

Description

Initial support for marking live code. As part of aggressive dead code elimination, we initially assume all flow-graph instructions are not live. We mark those that are critical and recursively all their children. The children of variable references (VariableProxies occurring as rvalues) include all their reaching definitions. Committed: http://code.google.com/p/v8/source/detail?r=4246

Patch Set 1 #

Total comments: 5

Patch Set 2 : Addressed review comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+388 lines, -51 lines) Patch
M src/ast.h View 13 chunks +66 lines, -3 lines 0 comments Download
M src/ast.cc View 1 2 chunks +194 lines, -0 lines 0 comments Download
M src/compiler.cc View 1 3 chunks +9 lines, -1 line 0 comments Download
M src/data-flow.h View 10 chunks +61 lines, -42 lines 0 comments Download
M src/data-flow.cc View 1 5 chunks +58 lines, -5 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Kevin Millikin (Chromium)
As we discussed, control dependencies are not yet handled. We need to find a cheap ...
10 years, 9 months ago (2010-03-23 13:55:55 UTC) #1
fschneider
First round of comments. http://codereview.chromium.org/1159005/diff/1/2 File src/ast.cc (right): http://codereview.chromium.org/1159005/diff/1/2#newcode647 src/ast.cc:647: return expression()->IsPrimitive(); This should be ...
10 years, 9 months ago (2010-03-23 16:14:46 UTC) #2
Kevin Millikin (Chromium)
http://codereview.chromium.org/1159005/diff/1/2 File src/ast.cc (right): http://codereview.chromium.org/1159005/diff/1/2#newcode647 src/ast.cc:647: return expression()->IsPrimitive(); On 2010/03/23 16:14:46, fschneider wrote: > This ...
10 years, 9 months ago (2010-03-24 07:50:45 UTC) #3
fschneider
10 years, 9 months ago (2010-03-24 09:27:28 UTC) #4
LGTM.

Powered by Google App Engine
This is Rietveld 408576698