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

Issue 553873002: Add copy support in inliner. (Closed)

Created:
6 years, 3 months ago by sigurds
Modified:
6 years, 3 months ago
Reviewers:
Michael Starzinger
CC:
v8-dev, titzer
Project:
v8
Visibility:
Public.

Description

Add copy support in inliner. Refactors JSGraph to ensure that the zone operators are created in can be different from the Graph's zone. R=mstarzinger@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=23804

Patch Set 1 #

Patch Set 2 : Cosmetics. #

Patch Set 3 : Rebase + cosmetics. #

Total comments: 4

Patch Set 4 : Rebase mstarzinger's comments. #

Patch Set 5 : Rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+151 lines, -57 lines) Patch
M src/compiler/change-lowering-unittest.cc View 1 chunk +4 lines, -2 lines 0 comments Download
M src/compiler/generic-graph.h View 1 chunk +0 lines, -1 line 0 comments Download
M src/compiler/js-graph.h View 4 chunks +10 lines, -4 lines 0 comments Download
M src/compiler/js-inlining.cc View 1 2 3 7 chunks +99 lines, -36 lines 0 comments Download
M src/compiler/machine-operator-reducer-unittest.cc View 1 chunk +2 lines, -1 line 0 comments Download
M src/compiler/pipeline.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M src/compiler/simplified-operator-reducer-unittest.cc View 1 chunk +2 lines, -1 line 0 comments Download
M test/cctest/compiler/test-changes-lowering.cc View 1 2 1 chunk +4 lines, -1 line 0 comments Download
M test/cctest/compiler/test-js-constant-cache.cc View 2 chunks +9 lines, -2 lines 0 comments Download
M test/cctest/compiler/test-js-context-specialization.cc View 2 chunks +3 lines, -1 line 0 comments Download
M test/cctest/compiler/test-js-typed-lowering.cc View 1 chunk +1 line, -1 line 0 comments Download
M test/cctest/compiler/test-machine-operator-reducer.cc View 2 chunks +3 lines, -1 line 0 comments Download
M test/cctest/compiler/test-representation-change.cc View 1 chunk +4 lines, -1 line 0 comments Download
M test/cctest/compiler/test-simplified-lowering.cc View 3 chunks +7 lines, -2 lines 0 comments Download

Messages

Total messages: 7 (1 generated)
sigurds
PTAL.
6 years, 3 months ago (2014-09-08 11:06:53 UTC) #2
Michael Starzinger
Looking good. There are many test cases that don't actually need the operator-builders. Could we ...
6 years, 3 months ago (2014-09-08 17:38:52 UTC) #3
sigurds
After personal discussion with you and bmeurer, I think we should not pass NULL arguments ...
6 years, 3 months ago (2014-09-09 08:56:38 UTC) #4
Michael Starzinger
LGTM if comments are addressed. https://codereview.chromium.org/553873002/diff/40001/src/compiler/js-inlining.cc File src/compiler/js-inlining.cc (right): https://codereview.chromium.org/553873002/diff/40001/src/compiler/js-inlining.cc#newcode70 src/compiler/js-inlining.cc:70: // InlineAtCall will create ...
6 years, 3 months ago (2014-09-09 11:52:15 UTC) #5
sigurds
Committed patchset #5 (id:80001) manually as 23804 (presubmit successful).
6 years, 3 months ago (2014-09-09 13:20:26 UTC) #6
sigurds
6 years, 3 months ago (2014-09-15 10:29:09 UTC) #7
Message was sent while issue was closed.
https://codereview.chromium.org/553873002/diff/40001/src/compiler/js-inlining.cc
File src/compiler/js-inlining.cc (right):

https://codereview.chromium.org/553873002/diff/40001/src/compiler/js-inlining...
src/compiler/js-inlining.cc:70: // InlineAtCall will create some new nodes using
{graph}'s builders (and hence
On 2014/09/09 11:52:15, Michael Starzinger wrote:
> nit: The last sentence of the comment is slightly out of date, let's adapt it.

Done.

https://codereview.chromium.org/553873002/diff/40001/src/compiler/js-inlining...
src/compiler/js-inlining.cc:219: JSGraph* target_graph_;
On 2014/09/09 11:52:15, Michael Starzinger wrote:
> I think the target_graph_ should be of type "Graph*" as well. The only place
> where we need the original type graph is to create the operator for the
> sentinel. Could we either just use NULL as the operator of the sentinel or
pass
> in one constant sentinel operator from the outside?

Done.

Powered by Google App Engine
This is Rietveld 408576698