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

Issue 1514413002: [Interpreter] Generate valid FrameStates in the Bytecode Graph Builder. (Closed)

Created:
5 years ago by rmcilroy
Modified:
5 years ago
CC:
v8-reviews_googlegroups.com, oth, mythria
Base URL:
https://chromium.googlesource.com/v8/v8.git@int_materialize_sf
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[Interpreter] Generate valid FrameStates in the Bytecode Graph Builder. Adds FrameState nodes to graphs built by the Bytecode Graph Builder, in preparation for adding deopt support. Also adds a new FrameStateType::kInterpretedFunction to allow for specialized deopt stack translation for interpreted frames. Finally adds support for disabling typed lowering of binary ops, since the current approach relies on a FrameState hack which does not apply to interpreted frames BUG=v8:4280 LOG=N Committed: https://crrev.com/32211800d85f262a0d05ed3525c0a523a9e10492 Cr-Commit-Position: refs/heads/master@{#32964}

Patch Set 1 #

Total comments: 13

Patch Set 2 : Replace Push with PokeAt(0) and rebase. #

Patch Set 3 : Rebased #

Patch Set 4 : Add checks that environment doesn't change after state nodes are attached #

Unified diffs Side-by-side diffs Delta from patch set Stats (+276 lines, -91 lines) Patch
M src/compiler/bytecode-graph-builder.h View 1 2 3 8 chunks +33 lines, -7 lines 0 comments Download
M src/compiler/bytecode-graph-builder.cc View 1 2 3 37 chunks +189 lines, -74 lines 0 comments Download
M src/compiler/code-generator.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M src/compiler/frame-states.h View 2 chunks +9 lines, -3 lines 0 comments Download
M src/compiler/frame-states.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M src/compiler/instruction.h View 1 2 1 chunk +1 line, -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/js-typed-lowering.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M src/compiler/js-typed-lowering.cc View 1 2 9 chunks +20 lines, -1 line 0 comments Download
M src/compiler/pipeline.cc View 1 1 chunk +9 lines, -4 lines 0 comments Download
M src/interpreter/bytecode-array-iterator.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M src/interpreter/bytecode-array-iterator.cc View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M test/cctest/compiler/test-run-bytecode-graph-builder.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 18 (5 generated)
rmcilroy
jarin@ / mstarzinger@: Please take a look. I haven't yet implemented any translation support, but ...
5 years ago (2015-12-11 15:28:42 UTC) #2
Jarin
The overall direction looks good. I have been under the impression that the goal for ...
5 years ago (2015-12-13 20:26:30 UTC) #3
rmcilroy
https://codereview.chromium.org/1514413002/diff/1/src/compiler/bytecode-graph-builder.cc File src/compiler/bytecode-graph-builder.cc (right): https://codereview.chromium.org/1514413002/diff/1/src/compiler/bytecode-graph-builder.cc#newcode150 src/compiler/bytecode-graph-builder.cc:150: update_mode == AccumulatorUpdateMode::kOutputIgnored On 2015/12/13 20:26:30, Jarin wrote: > ...
5 years ago (2015-12-16 15:40:57 UTC) #4
Jarin
lgtm with some random comments. https://codereview.chromium.org/1514413002/diff/1/src/compiler/bytecode-graph-builder.cc File src/compiler/bytecode-graph-builder.cc (right): https://codereview.chromium.org/1514413002/diff/1/src/compiler/bytecode-graph-builder.cc#newcode150 src/compiler/bytecode-graph-builder.cc:150: update_mode == AccumulatorUpdateMode::kOutputIgnored On ...
5 years ago (2015-12-17 09:44:05 UTC) #5
rmcilroy
Added some checks to ensure we capture the before and after environment at the right ...
5 years ago (2015-12-17 14:43:48 UTC) #6
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1514413002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1514413002/60001
5 years ago (2015-12-17 23:50:21 UTC) #8
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years ago (2015-12-18 00:20:46 UTC) #10
Jarin
On 2015/12/17 14:43:48, rmcilroy wrote: > Added some checks to ensure we capture the before ...
5 years ago (2015-12-18 08:18:10 UTC) #11
rmcilroy
On 2015/12/18 08:18:10, Jarin wrote: > On 2015/12/17 14:43:48, rmcilroy wrote: > > Added some ...
5 years ago (2015-12-18 08:39:29 UTC) #12
rmcilroy
On 2015/12/18 08:18:10, Jarin wrote: > On 2015/12/17 14:43:48, rmcilroy wrote: > > Added some ...
5 years ago (2015-12-18 08:39:30 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1514413002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1514413002/60001
5 years ago (2015-12-18 08:39:53 UTC) #15
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years ago (2015-12-18 08:41:16 UTC) #16
commit-bot: I haz the power
5 years ago (2015-12-18 08:41:36 UTC) #18
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/32211800d85f262a0d05ed3525c0a523a9e10492
Cr-Commit-Position: refs/heads/master@{#32964}

Powered by Google App Engine
This is Rietveld 408576698