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

Issue 1191243003: [turbofan] Factor out the function specific part from the frame state operator. (Closed)

Created:
5 years, 6 months ago by Jarin
Modified:
5 years, 6 months ago
Reviewers:
Benedikt Meurer
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] Factor out the function specific part from the frame state operator. This also threads through the parameter count and local count to the instruction selector. This will be later used to allow merging of various StateValues vector (and prepare for differential encoding which will not distinguish between parameters, locals and expression stack). BUG= Committed: https://crrev.com/de62b486e35c565639878b6e7d81e21bccac497c Cr-Commit-Position: refs/heads/master@{#29214}

Patch Set 1 #

Patch Set 2 : Rename #

Patch Set 3 : Rebase #

Patch Set 4 : Rename for gcc happiness #

Total comments: 6

Patch Set 5 : Tweaks #

Unified diffs Side-by-side diffs Delta from patch set Stats (+172 lines, -80 lines) Patch
M src/compiler/ast-graph-builder.h View 1 2 2 chunks +6 lines, -0 lines 0 comments Download
M src/compiler/ast-graph-builder.cc View 1 2 3 4 2 chunks +6 lines, -2 lines 0 comments Download
M src/compiler/code-generator.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M src/compiler/common-operator.h View 1 2 3 2 chunks +7 lines, -3 lines 0 comments Download
M src/compiler/common-operator.cc View 1 2 3 2 chunks +16 lines, -9 lines 0 comments Download
M src/compiler/frame-states.h View 1 1 chunk +49 lines, -16 lines 0 comments Download
M src/compiler/frame-states.cc View 1 2 3 4 1 chunk +20 lines, -6 lines 0 comments Download
M src/compiler/instruction.h View 1 2 1 chunk +3 lines, -1 line 0 comments Download
M src/compiler/instruction.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/compiler/instruction-selector.cc View 1 2 2 chunks +4 lines, -1 line 0 comments Download
M src/compiler/js-graph.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M src/compiler/js-inlining.cc View 1 2 3 1 chunk +6 lines, -2 lines 0 comments Download
M src/compiler/js-type-feedback.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M src/compiler/js-typed-lowering.cc View 1 2 4 chunks +6 lines, -8 lines 0 comments Download
M test/cctest/compiler/test-js-typed-lowering.cc View 1 chunk +4 lines, -4 lines 0 comments Download
M test/unittests/compiler/graph-unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M test/unittests/compiler/instruction-selector-unittest.h View 1 chunk +3 lines, -0 lines 0 comments Download
M test/unittests/compiler/instruction-selector-unittest.cc View 1 2 3 5 chunks +27 lines, -17 lines 0 comments Download
M test/unittests/compiler/liveness-analyzer-unittest.cc View 1 2 3 2 chunks +7 lines, -3 lines 0 comments Download

Messages

Total messages: 11 (3 generated)
Benedikt Meurer
https://codereview.chromium.org/1191243003/diff/60001/src/compiler/ast-graph-builder.cc File src/compiler/ast-graph-builder.cc (right): https://codereview.chromium.org/1191243003/diff/60001/src/compiler/ast-graph-builder.cc#newcode452 src/compiler/ast-graph-builder.cc:452: FrameStateType::kJavaScriptFunction, info->num_parameters() + 1, Nit: Use info->num_parameters_including_this() here? https://codereview.chromium.org/1191243003/diff/60001/src/compiler/common-operator.cc ...
5 years, 6 months ago (2015-06-22 12:14:36 UTC) #2
Jarin
Could you take a look, please?
5 years, 6 months ago (2015-06-22 12:14:44 UTC) #3
Jarin
Could you take a look, please?
5 years, 6 months ago (2015-06-22 12:14:47 UTC) #4
Benedikt Meurer
LGTM once comments/nits are addressed.
5 years, 6 months ago (2015-06-23 02:28:26 UTC) #5
Jarin
https://codereview.chromium.org/1191243003/diff/60001/src/compiler/ast-graph-builder.cc File src/compiler/ast-graph-builder.cc (right): https://codereview.chromium.org/1191243003/diff/60001/src/compiler/ast-graph-builder.cc#newcode452 src/compiler/ast-graph-builder.cc:452: FrameStateType::kJavaScriptFunction, info->num_parameters() + 1, On 2015/06/22 12:14:35, Benedikt Meurer ...
5 years, 6 months ago (2015-06-23 07:13:40 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1191243003/80001
5 years, 6 months ago (2015-06-23 07:14:06 UTC) #9
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 6 months ago (2015-06-23 07:17:12 UTC) #10
commit-bot: I haz the power
5 years, 6 months ago (2015-06-23 07:17:37 UTC) #11
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/de62b486e35c565639878b6e7d81e21bccac497c
Cr-Commit-Position: refs/heads/master@{#29214}

Powered by Google App Engine
This is Rietveld 408576698