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

Issue 2465913002: [turbofan] Move OSR BailoutId translation into graph builder. (Closed)

Created:
4 years, 1 month ago by Michael Starzinger
Modified:
4 years ago
CC:
v8-reviews_googlegroups.com, rmcilroy
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[turbofan] Move OSR BailoutId translation into graph builder. This moves the location of the bytecode-offset translation that turns offsets of back jumps into offsets of loop headers. This translation is now done by the {BytecodeGraphBuilder} after loop analysis has been performed. It safes one redudant iteration over the bytecode array. Note that this changes the semantics of the BailoutId used as an {osr_ast_id} throughout the compiler pipeline for OSR from Ignition. R=jarin@chromium.org Committed: https://crrev.com/8893d4ff58080fdef9d232ad4b2f95af19bfa6e6 Cr-Commit-Position: refs/heads/master@{#41431}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Rebased, fixed and addressed comments. #

Total comments: 4

Patch Set 3 : Addressed comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -26 lines) Patch
M src/compiler/bytecode-analysis.cc View 1 2 2 chunks +5 lines, -2 lines 0 comments Download
M src/compiler/bytecode-graph-builder.h View 1 3 chunks +6 lines, -5 lines 0 comments Download
M src/compiler/bytecode-graph-builder.cc View 1 3 chunks +7 lines, -3 lines 0 comments Download
M src/runtime/runtime-compiler.cc View 3 chunks +3 lines, -16 lines 0 comments Download

Messages

Total messages: 31 (21 generated)
Michael Starzinger
Jaro: PTAL. Ross: FYI.
4 years, 1 month ago (2016-10-31 14:49:57 UTC) #5
Jarin
lgtm https://codereview.chromium.org/2465913002/diff/1/src/compiler/bytecode-graph-builder.h File src/compiler/bytecode-graph-builder.h (right): https://codereview.chromium.org/2465913002/diff/1/src/compiler/bytecode-graph-builder.h#newcode209 src/compiler/bytecode-graph-builder.h:209: // [offset], if any. Nit: above we seem ...
4 years, 1 month ago (2016-10-31 14:59:39 UTC) #8
rmcilroy
"intoto" typo in description. LGTM once the bots are happy.
4 years, 1 month ago (2016-11-01 13:06:03 UTC) #9
Michael Starzinger
Jaro & Leszek: PTAL specifically at the bytecode analysis. I had to add a change ...
4 years ago (2016-12-01 12:49:57 UTC) #16
Jarin
https://codereview.chromium.org/2465913002/diff/20001/src/compiler/bytecode-analysis.cc File src/compiler/bytecode-analysis.cc (right): https://codereview.chromium.org/2465913002/diff/20001/src/compiler/bytecode-analysis.cc#newcode166 src/compiler/bytecode-analysis.cc:166: int loop_end = current_offset + iterator.current_bytecode_size() - 1; On ...
4 years ago (2016-12-01 13:49:29 UTC) #17
Leszek Swirski
lgtm https://codereview.chromium.org/2465913002/diff/20001/src/compiler/bytecode-analysis.cc File src/compiler/bytecode-analysis.cc (right): https://codereview.chromium.org/2465913002/diff/20001/src/compiler/bytecode-analysis.cc#newcode166 src/compiler/bytecode-analysis.cc:166: int loop_end = current_offset + iterator.current_bytecode_size() - 1; ...
4 years ago (2016-12-01 13:50:00 UTC) #18
Michael Starzinger
Thanks! Addressed comments. Landing. https://codereview.chromium.org/2465913002/diff/20001/src/compiler/bytecode-analysis.cc File src/compiler/bytecode-analysis.cc (right): https://codereview.chromium.org/2465913002/diff/20001/src/compiler/bytecode-analysis.cc#newcode166 src/compiler/bytecode-analysis.cc:166: int loop_end = current_offset + ...
4 years ago (2016-12-01 13:57:44 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2465913002/40001
4 years ago (2016-12-01 14:22:14 UTC) #26
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years ago (2016-12-01 14:24:19 UTC) #29
commit-bot: I haz the power
4 years ago (2016-12-01 14:24:34 UTC) #31
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/8893d4ff58080fdef9d232ad4b2f95af19bfa6e6
Cr-Commit-Position: refs/heads/master@{#41431}

Powered by Google App Engine
This is Rietveld 408576698