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

Issue 453833003: Add initial support for inlining. (Closed)

Created:
6 years, 4 months ago by sigurds
Modified:
6 years, 4 months ago
CC:
v8-dev
Project:
v8
Visibility:
Public.

Description

Add initial support for inlining. * Add stack depth checking to function tester. * Make context specialization clean up after itself. * Add UpdateToAndIncrement to Inputs::iterator. Uses:iterator already provides this member function. * Allow next node id in graph to be set. R=mstarzinger@chromium.org, titzer@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=23197

Patch Set 1 #

Total comments: 4

Patch Set 2 : Add initial support for inlining. #

Total comments: 26

Patch Set 3 : Add initial support for inlining. #

Total comments: 12

Patch Set 4 : Add initial support for inlining. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+604 lines, -53 lines) Patch
M BUILD.gn View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M src/compiler/generic-graph.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/compiler/generic-node.h View 1 chunk +6 lines, -0 lines 0 comments Download
M src/compiler/js-context-specialization.cc View 1 2 3 3 chunks +6 lines, -23 lines 0 comments Download
A src/compiler/js-inlining.h View 1 2 3 1 chunk +35 lines, -0 lines 0 comments Download
A src/compiler/js-inlining.cc View 1 2 3 1 chunk +327 lines, -0 lines 0 comments Download
M src/compiler/js-typed-lowering.cc View 1 2 3 3 chunks +7 lines, -28 lines 0 comments Download
M src/compiler/node-properties.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M src/compiler/node-properties-inl.h View 1 2 3 1 chunk +22 lines, -0 lines 0 comments Download
M src/compiler/pipeline.cc View 1 2 3 2 chunks +11 lines, -2 lines 0 comments Download
M src/flag-definitions.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M test/cctest/cctest.gyp View 1 2 1 chunk +1 line, -0 lines 0 comments Download
A test/cctest/compiler/test-run-inlining.cc View 1 2 1 chunk +180 lines, -0 lines 0 comments Download
M tools/gyp/v8.gyp View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
sigurds
6 years, 4 months ago (2014-08-11 14:45:24 UTC) #1
Michael Starzinger
Can you please re-upload so that it doesn't include CL 462633003, otherwise it is hard ...
6 years, 4 months ago (2014-08-11 18:42:05 UTC) #2
sigurds
https://codereview.chromium.org/453833003/diff/1/src/compiler/js-inlining.cc File src/compiler/js-inlining.cc (right): https://codereview.chromium.org/453833003/diff/1/src/compiler/js-inlining.cc#newcode5 src/compiler/js-inlining.cc:5: #include "js-inlining.h" On 2014/08/11 18:42:04, Michael Starzinger wrote: > ...
6 years, 4 months ago (2014-08-12 12:29:30 UTC) #3
sigurds
On 2014/08/12 12:29:30, sigurds wrote: > https://codereview.chromium.org/453833003/diff/1/src/compiler/js-inlining.cc > File src/compiler/js-inlining.cc (right): > > https://codereview.chromium.org/453833003/diff/1/src/compiler/js-inlining.cc#newcode5 > ...
6 years, 4 months ago (2014-08-12 12:30:31 UTC) #4
Michael Starzinger
https://codereview.chromium.org/453833003/diff/20001/src/compiler/js-inlining.cc File src/compiler/js-inlining.cc (right): https://codereview.chromium.org/453833003/diff/20001/src/compiler/js-inlining.cc#newcode75 src/compiler/js-inlining.cc:75: /// Ensure that only a single return reaches the ...
6 years, 4 months ago (2014-08-12 20:04:47 UTC) #5
sigurds
PTAL https://codereview.chromium.org/453833003/diff/20001/src/compiler/js-inlining.cc File src/compiler/js-inlining.cc (right): https://codereview.chromium.org/453833003/diff/20001/src/compiler/js-inlining.cc#newcode75 src/compiler/js-inlining.cc:75: /// Ensure that only a single return reaches ...
6 years, 4 months ago (2014-08-14 09:54:43 UTC) #6
titzer
https://codereview.chromium.org/453833003/diff/40001/src/compiler/js-inlining.cc File src/compiler/js-inlining.cc (right): https://codereview.chromium.org/453833003/diff/40001/src/compiler/js-inlining.cc#newcode27 src/compiler/js-inlining.cc:27: static void ReplaceEffectfulWithValue(Node* node, Node* value) { Can you ...
6 years, 4 months ago (2014-08-14 10:24:31 UTC) #7
Michael Starzinger
LGTM with one final round of comments to address. https://codereview.chromium.org/453833003/diff/40001/src/compiler/js-inlining.cc File src/compiler/js-inlining.cc (right): https://codereview.chromium.org/453833003/diff/40001/src/compiler/js-inlining.cc#newcode48 src/compiler/js-inlining.cc:48: ...
6 years, 4 months ago (2014-08-14 10:36:23 UTC) #8
sigurds
6 years, 4 months ago (2014-08-19 11:29:27 UTC) #9
sigurds
https://codereview.chromium.org/453833003/diff/40001/src/compiler/js-inlining.cc File src/compiler/js-inlining.cc (right): https://codereview.chromium.org/453833003/diff/40001/src/compiler/js-inlining.cc#newcode27 src/compiler/js-inlining.cc:27: static void ReplaceEffectfulWithValue(Node* node, Node* value) { On 2014/08/14 ...
6 years, 4 months ago (2014-08-19 11:31:19 UTC) #10
titzer
On 2014/08/19 11:31:19, sigurds wrote: > https://codereview.chromium.org/453833003/diff/40001/src/compiler/js-inlining.cc > File src/compiler/js-inlining.cc (right): > > https://codereview.chromium.org/453833003/diff/40001/src/compiler/js-inlining.cc#newcode27 > ...
6 years, 4 months ago (2014-08-19 12:04:16 UTC) #11
sigurds
6 years, 4 months ago (2014-08-19 12:23:32 UTC) #12
Message was sent while issue was closed.
Committed patchset #4 manually as 23197 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698