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

Issue 15533004: Liveness analysis for environment slots in Hydrogen (Closed)

Created:
7 years, 7 months ago by Jakob Kummerow
Modified:
7 years, 6 months ago
Reviewers:
titzer
CC:
v8-dev, danno
Visibility:
Public.

Description

Liveness analysis for environment slots in Hydrogen R=titzer@chromium.org Committed: http://code.google.com/p/v8/source/detail?r=14938

Patch Set 1 #

Patch Set 2 : platform ports #

Total comments: 16

Patch Set 3 : addressed minor comments #

Patch Set 4 : refactored loop into helper functions #

Patch Set 5 : ASSERTs against environment mix-up; high-level comment #

Patch Set 6 : fixed bug: markers were deleted too early #

Total comments: 2

Patch Set 7 : refactored the analysis phase into a class #

Patch Set 8 : unified HEnvironment{Bind,Lookup} #

Patch Set 9 : moved environment liveness analysis into its own file #

Patch Set 10 : fixed bug (again; the same one as patch set 6) #

Total comments: 22

Patch Set 11 : addressed comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+629 lines, -45 lines) Patch
M src/arm/lithium-arm.cc View 1 2 3 4 5 6 7 1 chunk +6 lines, -0 lines 0 comments Download
M src/flag-definitions.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M src/hydrogen.h View 1 2 3 4 5 6 7 11 chunks +85 lines, -19 lines 0 comments Download
M src/hydrogen.cc View 1 2 3 4 5 6 7 8 9 10 23 chunks +52 lines, -20 lines 0 comments Download
A src/hydrogen-environment-liveness.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +94 lines, -0 lines 0 comments Download
A src/hydrogen-environment-liveness.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +267 lines, -0 lines 0 comments Download
M src/hydrogen-instructions.h View 1 2 3 4 5 6 7 8 9 11 chunks +81 lines, -5 lines 0 comments Download
M src/hydrogen-instructions.cc View 1 2 3 4 5 6 7 2 chunks +12 lines, -0 lines 0 comments Download
M src/ia32/lithium-ia32.cc View 1 2 3 4 5 6 7 1 chunk +6 lines, -0 lines 0 comments Download
M src/mips/lithium-mips.cc View 1 2 3 4 5 6 7 1 chunk +6 lines, -0 lines 0 comments Download
M src/x64/lithium-x64.cc View 1 2 3 4 5 6 7 1 chunk +6 lines, -0 lines 0 comments Download
M test/mjsunit/debug-evaluate-locals-optimized.js View 1 chunk +5 lines, -0 lines 0 comments Download
M test/mjsunit/debug-evaluate-locals-optimized-double.js View 5 chunks +5 lines, -1 line 0 comments Download
M tools/gyp/v8.gyp View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
Jakob Kummerow
Ben: please take a look. Danno: just FYI if you're interested.
7 years, 7 months ago (2013-05-23 08:11:00 UTC) #1
titzer
https://codereview.chromium.org/15533004/diff/1008/src/hydrogen.cc File src/hydrogen.cc (right): https://codereview.chromium.org/15533004/diff/1008/src/hydrogen.cc#newcode823 src/hydrogen.cc:823: // branch. However, we must pretend that the "then" ...
7 years, 7 months ago (2013-05-23 12:34:54 UTC) #2
Jakob Kummerow
Addressed those comments that only required minor changes; more refactorings will come. https://codereview.chromium.org/15533004/diff/1008/src/hydrogen.cc File src/hydrogen.cc ...
7 years, 7 months ago (2013-05-24 09:49:34 UTC) #3
Jakob Kummerow
Made more changes (see patch set descriptions). I believe I have addressed all of your ...
7 years, 7 months ago (2013-05-24 15:31:09 UTC) #4
titzer
https://codereview.chromium.org/15533004/diff/17012/src/hydrogen.cc File src/hydrogen.cc (right): https://codereview.chromium.org/15533004/diff/17012/src/hydrogen.cc#newcode2509 src/hydrogen.cc:2509: HSimulate* HGraph::ZapEnvironmentSlotInNextSimulate(int index, In this function, we have to ...
7 years, 6 months ago (2013-05-27 11:35:27 UTC) #5
Jakob Kummerow
PTAL.
7 years, 6 months ago (2013-05-29 15:41:49 UTC) #6
titzer
Almost there, just mostly documentation. https://codereview.chromium.org/15533004/diff/29001/src/hydrogen-environment-liveness.cc File src/hydrogen-environment-liveness.cc (right): https://codereview.chromium.org/15533004/diff/29001/src/hydrogen-environment-liveness.cc#newcode84 src/hydrogen-environment-liveness.cc:84: HBasicBlock* block) { E.g. ...
7 years, 6 months ago (2013-05-29 16:58:05 UTC) #7
Jakob Kummerow
https://codereview.chromium.org/15533004/diff/29001/src/hydrogen-environment-liveness.cc File src/hydrogen-environment-liveness.cc (right): https://codereview.chromium.org/15533004/diff/29001/src/hydrogen-environment-liveness.cc#newcode84 src/hydrogen-environment-liveness.cc:84: HBasicBlock* block) { On 2013/05/29 16:58:05, titzer wrote: > ...
7 years, 6 months ago (2013-06-03 17:50:38 UTC) #8
titzer
On 2013/06/03 17:50:38, Jakob wrote: > https://codereview.chromium.org/15533004/diff/29001/src/hydrogen-environment-liveness.cc > File src/hydrogen-environment-liveness.cc (right): > > https://codereview.chromium.org/15533004/diff/29001/src/hydrogen-environment-liveness.cc#newcode84 > ...
7 years, 6 months ago (2013-06-04 16:20:17 UTC) #9
Jakob Kummerow
7 years, 6 months ago (2013-06-04 16:41:36 UTC) #10
Message was sent while issue was closed.
Committed patchset #11 manually as r14938 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698