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 1106613003: [turbofan] Unify frame state inputs. (Closed)

Created:
5 years, 8 months ago by Benedikt Meurer
Modified:
5 years, 8 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] Unify frame state inputs. Now all nodes that care about deoptimization always take frame state inputs no matter whether deoptimization is enabled for a particular function. In case that deoptimization is off, the AstGraphBuilder just inserts the empty frame state. This greatly simplifies the logic in various places and makes testing easier as well, and is probably the first step towards enabling --turbo-deoptimization by default. There seems to be no noticable performance impact on asm.js programs. Also fix the graph replay in order to regenerate the scheduler unittests. Committed: https://crrev.com/4940c0bd4250becfded9b366282479c0d42310d7 Cr-Commit-Position: refs/heads/master@{#28026}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Remove TODOs. #

Patch Set 3 : Address comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1359 lines, -984 lines) Patch
M src/compiler.h View 2 chunks +8 lines, -1 line 0 comments Download
M src/compiler.cc View 1 chunk +1 line, -0 lines 0 comments Download
M src/compiler/ast-graph-builder.cc View 1 chunk +3 lines, -1 line 0 comments Download
M src/compiler/change-lowering.cc View 2 chunks +3 lines, -6 lines 0 comments Download
M src/compiler/graph.h View 1 chunk +5 lines, -0 lines 0 comments Download
M src/compiler/graph-replay.cc View 4 chunks +20 lines, -12 lines 0 comments Download
M src/compiler/instruction-selector.cc View 1 chunk +0 lines, -2 lines 0 comments Download
M src/compiler/js-generic-lowering.cc View 1 chunk +1 line, -5 lines 0 comments Download
M src/compiler/js-inlining.cc View 1 chunk +11 lines, -13 lines 0 comments Download
M src/compiler/js-intrinsic-lowering.cc View 1 5 chunks +8 lines, -5 lines 0 comments Download
M src/compiler/js-type-feedback.cc View 3 chunks +3 lines, -9 lines 0 comments Download
M src/compiler/js-typed-lowering.cc View 1 2 9 chunks +20 lines, -47 lines 0 comments Download
M src/compiler/linkage.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M src/compiler/operator-properties.cc View 1 chunk +0 lines, -3 lines 0 comments Download
M src/compiler/pipeline.cc View 1 chunk +3 lines, -1 line 0 comments Download
M test/unittests/compiler/control-flow-optimizer-unittest.cc View 1 chunk +2 lines, -5 lines 0 comments Download
M test/unittests/compiler/js-intrinsic-lowering-unittest.cc View 3 chunks +13 lines, -6 lines 0 comments Download
M test/unittests/compiler/js-operator-unittest.cc View 2 chunks +4 lines, -11 lines 0 comments Download
M test/unittests/compiler/js-typed-lowering-unittest.cc View 4 chunks +12 lines, -30 lines 0 comments Download
M test/unittests/compiler/node-test-utils.h View 1 chunk +17 lines, -0 lines 0 comments Download
M test/unittests/compiler/node-test-utils.cc View 7 chunks +89 lines, -94 lines 0 comments Download
M test/unittests/compiler/scheduler-unittest.cc View 7 chunks +1136 lines, -729 lines 0 comments Download

Messages

Total messages: 12 (5 generated)
Benedikt Meurer
Jaro: PTAL Michi: FYI
5 years, 8 months ago (2015-04-23 07:53:22 UTC) #2
Jarin
lgtm. Great stuff, thanks for doing this! https://codereview.chromium.org/1106613003/diff/1/src/compiler/js-intrinsic-lowering.cc File src/compiler/js-intrinsic-lowering.cc (right): https://codereview.chromium.org/1106613003/diff/1/src/compiler/js-intrinsic-lowering.cc#newcode162 src/compiler/js-intrinsic-lowering.cc:162: // TODO(bmeurer): ...
5 years, 8 months ago (2015-04-23 08:33:09 UTC) #3
Benedikt Meurer
https://codereview.chromium.org/1106613003/diff/1/src/compiler/js-intrinsic-lowering.cc File src/compiler/js-intrinsic-lowering.cc (right): https://codereview.chromium.org/1106613003/diff/1/src/compiler/js-intrinsic-lowering.cc#newcode162 src/compiler/js-intrinsic-lowering.cc:162: // TODO(bmeurer): if (!FLAG_turbo_deoptimization) return NoChange(); On 2015/04/23 08:33:08, ...
5 years, 8 months ago (2015-04-23 08:35:35 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1106613003/20001
5 years, 8 months ago (2015-04-23 08:35:53 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1106613003/40001
5 years, 8 months ago (2015-04-23 08:36:58 UTC) #10
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 8 months ago (2015-04-23 09:04:43 UTC) #11
commit-bot: I haz the power
5 years, 8 months ago (2015-04-23 09:04:57 UTC) #12
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/4940c0bd4250becfded9b366282479c0d42310d7
Cr-Commit-Position: refs/heads/master@{#28026}

Powered by Google App Engine
This is Rietveld 408576698