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

Issue 864293002: [turbofan] Cleanup Schedule and related classes. (Closed)

Created:
5 years, 11 months ago by Benedikt Meurer
Modified:
5 years, 11 months ago
CC:
v8-dev
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[turbofan] Cleanup Schedule and related classes. - Move unit tests to schedule-unittests.cc. - Remove pre-C++11 cruft. - Fix some include weirdness. R=mstarzinger@chromium.org Committed: https://crrev.com/c9283148d1f9c81a23d6352138e84dd5b20f2952 Cr-Commit-Position: refs/heads/master@{#26220}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Address auto comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+234 lines, -279 lines) Patch
M src/compiler/basic-block-instrumentor.cc View 1 chunk +1 line, -0 lines 0 comments Download
M src/compiler/graph-visualizer.cc View 1 2 chunks +6 lines, -9 lines 0 comments Download
M src/compiler/instruction.cc View 1 1 chunk +4 lines, -6 lines 0 comments Download
M src/compiler/instruction-selector.h View 2 chunks +3 lines, -0 lines 0 comments Download
M src/compiler/schedule.h View 4 chunks +24 lines, -36 lines 0 comments Download
M src/compiler/schedule.cc View 1 4 chunks +12 lines, -21 lines 0 comments Download
M src/compiler/scheduler.h View 2 chunks +4 lines, -0 lines 0 comments Download
M src/compiler/scheduler.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M src/compiler/verifier.cc View 1 1 chunk +7 lines, -9 lines 0 comments Download
M test/cctest/cctest.gyp View 1 chunk +0 lines, -1 line 0 comments Download
M test/cctest/compiler/test-instruction.cc View 1 chunk +1 line, -4 lines 0 comments Download
D test/cctest/compiler/test-schedule.cc View 1 chunk +0 lines, -177 lines 0 comments Download
M test/cctest/compiler/test-scheduler.cc View 1 chunk +6 lines, -14 lines 0 comments Download
A test/unittests/compiler/schedule-unittest.cc View 1 chunk +163 lines, -0 lines 0 comments Download
M test/unittests/unittests.gyp View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 12 (2 generated)
Benedikt Meurer
5 years, 11 months ago (2015-01-22 12:05:30 UTC) #1
Benedikt Meurer
PTAL
5 years, 11 months ago (2015-01-22 12:05:48 UTC) #2
Michael Starzinger
LGTM. But I have to say I am not a huge fan of the "auto" ...
5 years, 11 months ago (2015-01-22 12:15:29 UTC) #3
titzer
https://codereview.chromium.org/864293002/diff/1/src/compiler/schedule.h File src/compiler/schedule.h (right): https://codereview.chromium.org/864293002/diff/1/src/compiler/schedule.h#newcode104 src/compiler/schedule.h:104: typedef Node* value_type; What's this typedef for?
5 years, 11 months ago (2015-01-22 12:18:48 UTC) #5
titzer
On 2015/01/22 12:15:29, Michael Starzinger wrote: > LGTM. But I have to say I am ...
5 years, 11 months ago (2015-01-22 12:24:59 UTC) #6
Benedikt Meurer
On 2015/01/22 at 12:24:59, titzer wrote: > On 2015/01/22 12:15:29, Michael Starzinger wrote: > > ...
5 years, 11 months ago (2015-01-22 12:25:14 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/864293002/20001
5 years, 11 months ago (2015-01-22 12:30:24 UTC) #9
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 11 months ago (2015-01-22 13:01:08 UTC) #10
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/c9283148d1f9c81a23d6352138e84dd5b20f2952 Cr-Commit-Position: refs/heads/master@{#26220}
5 years, 11 months ago (2015-01-22 13:01:23 UTC) #11
Benedikt Meurer
5 years, 11 months ago (2015-01-22 13:48:02 UTC) #12
Message was sent while issue was closed.
https://codereview.chromium.org/864293002/diff/1/src/compiler/graph-visualize...
File src/compiler/graph-visualizer.cc (right):

https://codereview.chromium.org/864293002/diff/1/src/compiler/graph-visualize...
src/compiler/graph-visualizer.cc:573: for (auto predecessor :
current->predecessors()) {
On 2015/01/22 12:15:29, Michael Starzinger wrote:
> remark: I know you all like the "auto" magic, but I would find "BasicBlock
> predecessor" more readable. Just putting it out there, feel free to ignore me
in
> this regard. :)

Done.

Powered by Google App Engine
This is Rietveld 408576698