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

Issue 517323002: Make FrameStates recursive (to be used for inlining). (Closed)

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

Description

Make FrameStates recursive (to be used for inlining). - Changes FrameState node to require a 5th input (use undefined as sentinel). - Adds outer_state pointer to FrameStateDescriptor. - Instruction selection dumps dependencies of FrameState chain into the instruction. - Code generator builds the translation for rec. FrameStates. (will require further integration tests) R=jarin@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=23595

Patch Set 1 #

Patch Set 2 : Fix bug in GetParentCount #

Total comments: 10

Patch Set 3 : Address jarin's comments. #

Patch Set 4 : Typo. #

Patch Set 5 : Rebase after lazydeopt/continuation removal. #

Patch Set 6 : Fix whitespace. #

Total comments: 2

Patch Set 7 : jarin's comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+209 lines, -51 lines) Patch
M src/compiler/ast-graph-builder.h View 1 2 3 4 1 chunk +6 lines, -0 lines 0 comments Download
M src/compiler/ast-graph-builder.cc View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M src/compiler/code-generator.h View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M src/compiler/code-generator.cc View 1 2 3 4 5 6 2 chunks +27 lines, -11 lines 0 comments Download
M src/compiler/graph-builder.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/compiler/instruction.h View 1 2 3 4 1 chunk +27 lines, -2 lines 0 comments Download
M src/compiler/instruction-selector.cc View 1 2 3 4 2 chunks +16 lines, -6 lines 0 comments Download
M src/compiler/instruction-selector-impl.h View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M src/compiler/instruction-selector-unittest.cc View 1 2 3 4 3 chunks +97 lines, -5 lines 0 comments Download
M src/compiler/node.h View 1 2 3 4 5 1 chunk +8 lines, -1 line 0 comments Download
M src/compiler/operator-properties-inl.h View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M src/compiler/raw-machine-assembler.h View 1 2 3 4 1 chunk +6 lines, -0 lines 0 comments Download
M test/cctest/compiler/test-codegen-deopt.cc View 1 2 3 4 5 chunks +11 lines, -23 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
sigurds
jarin: PTAL, mstarzinger: FYI
6 years, 3 months ago (2014-08-29 14:43:13 UTC) #1
Jarin
Nice. Just minor stuff... https://codereview.chromium.org/517323002/diff/20001/src/compiler/ast-graph-builder.h File src/compiler/ast-graph-builder.h (right): https://codereview.chromium.org/517323002/diff/20001/src/compiler/ast-graph-builder.h#newcode268 src/compiler/ast-graph-builder.h:268: Node* Checkpoint(BailoutId ast_id, Node* parent); ...
6 years, 3 months ago (2014-08-29 15:07:07 UTC) #2
sigurds
https://codereview.chromium.org/517323002/diff/20001/src/compiler/ast-graph-builder.h File src/compiler/ast-graph-builder.h (right): https://codereview.chromium.org/517323002/diff/20001/src/compiler/ast-graph-builder.h#newcode268 src/compiler/ast-graph-builder.h:268: Node* Checkpoint(BailoutId ast_id, Node* parent); On 2014/08/29 15:07:06, jarin ...
6 years, 3 months ago (2014-09-01 08:48:18 UTC) #3
sigurds
PTAL again, after rebase on removal of lazydeopt/continuation blocks.
6 years, 3 months ago (2014-09-02 08:36:08 UTC) #4
Jarin
lgtm with one reservation. https://codereview.chromium.org/517323002/diff/100001/src/compiler/code-generator.cc File src/compiler/code-generator.cc (right): https://codereview.chromium.org/517323002/diff/100001/src/compiler/code-generator.cc#newcode313 src/compiler/code-generator.cc:313: descriptor->outer_state()->state_combine()); I think we will ...
6 years, 3 months ago (2014-09-02 10:28:39 UTC) #5
sigurds
FYI https://codereview.chromium.org/517323002/diff/100001/src/compiler/code-generator.cc File src/compiler/code-generator.cc (right): https://codereview.chromium.org/517323002/diff/100001/src/compiler/code-generator.cc#newcode313 src/compiler/code-generator.cc:313: descriptor->outer_state()->state_combine()); On 2014/09/02 10:28:38, jarin wrote: > I ...
6 years, 3 months ago (2014-09-02 10:43:58 UTC) #6
sigurds
6 years, 3 months ago (2014-09-02 10:49:42 UTC) #7
Message was sent while issue was closed.
Committed patchset #7 manually as 23595 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698