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

Issue 2156753002: [Intepreter] Always use BytecodeGraphBuilder when --turbo-from-bytecode (Closed)

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

Description

[Intepreter] Always use BytecodeGraphBuilder when --turbo-from-bytecode Always use the BytecodeGraphBuilder when the --turbo-from-bytecode is enabled, assuming the function should be compiled for Ignition. Adds a new MaybeOptimizeIgnition function to runtime-profiler which is called if the function should be optimized from bytecode rather than going via full-codegen. BUG=v8:4280 Committed: https://crrev.com/9ca7db914be88e6792a88eab4a1988ee031d70c4 Committed: https://crrev.com/a474e84181fb6b19cc8c48cab29d670bf6302ab7 Cr-Original-Commit-Position: refs/heads/master@{#37921} Cr-Commit-Position: refs/heads/master@{#38002}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fix regress-446389 and remove DCHECK from ast-graph-builder. #

Total comments: 8

Patch Set 3 : Review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+138 lines, -16 lines) Patch
M src/compiler.h View 1 2 2 chunks +7 lines, -0 lines 0 comments Download
M src/compiler.cc View 1 2 5 chunks +31 lines, -4 lines 0 comments Download
M src/runtime-profiler.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/runtime-profiler.cc View 1 2 5 chunks +63 lines, -10 lines 0 comments Download
M test/cctest/cctest.status View 1 2 1 chunk +31 lines, -0 lines 0 comments Download
M test/cctest/compiler/function-tester.h View 2 chunks +5 lines, -2 lines 0 comments Download

Messages

Total messages: 50 (37 generated)
rmcilroy
Michi, this CL still needs tweaking (I will fix the issue with regress-446389 on the ...
4 years, 5 months ago (2016-07-18 12:19:20 UTC) #18
Michael Starzinger
Overall approach looks reasonable at a first glance. Just one high-level comment that jumps to ...
4 years, 5 months ago (2016-07-19 09:36:02 UTC) #19
rmcilroy
PTAL, thanks. https://codereview.chromium.org/2156753002/diff/40001/src/compiler.h File src/compiler.h (right): https://codereview.chromium.org/2156753002/diff/40001/src/compiler.h#newcode78 src/compiler.h:78: static bool ShouldUseIgnition(CompilationInfo* info); On 2016/07/19 09:36:02, ...
4 years, 5 months ago (2016-07-19 13:13:50 UTC) #22
Michael Starzinger
LGTM. Just nits. Thanks! https://codereview.chromium.org/2156753002/diff/60001/src/compiler.h File src/compiler.h (right): https://codereview.chromium.org/2156753002/diff/60001/src/compiler.h#newcode69 src/compiler.h:69: // Ensures that bytecode is ...
4 years, 5 months ago (2016-07-19 16:00:08 UTC) #25
rmcilroy
https://codereview.chromium.org/2156753002/diff/60001/src/compiler.h File src/compiler.h (right): https://codereview.chromium.org/2156753002/diff/60001/src/compiler.h#newcode69 src/compiler.h:69: // Ensures that bytecode is generated. On 2016/07/19 16:00:07, ...
4 years, 5 months ago (2016-07-20 21:48:41 UTC) #26
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/2156753002/80001
4 years, 5 months ago (2016-07-21 07:44:52 UTC) #33
commit-bot: I haz the power
Committed patchset #3 (id:80001)
4 years, 5 months ago (2016-07-21 07:48:31 UTC) #35
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/9ca7db914be88e6792a88eab4a1988ee031d70c4 Cr-Commit-Position: refs/heads/master@{#37921}
4 years, 5 months ago (2016-07-21 07:50:40 UTC) #37
Michael Achenbach
A revert of this CL (patchset #3 id:80001) has been created in https://codereview.chromium.org/2165223002/ by machenbach@chromium.org. ...
4 years, 5 months ago (2016-07-21 08:39:53 UTC) #38
rmcilroy
Relanding after fixing race in TF.
4 years, 5 months ago (2016-07-25 09:16:35 UTC) #44
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/2156753002/80001
4 years, 5 months ago (2016-07-25 09:16:53 UTC) #46
commit-bot: I haz the power
Committed patchset #3 (id:80001)
4 years, 5 months ago (2016-07-25 09:42:57 UTC) #48
commit-bot: I haz the power
4 years, 5 months ago (2016-07-25 09:44:09 UTC) #50
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/a474e84181fb6b19cc8c48cab29d670bf6302ab7
Cr-Commit-Position: refs/heads/master@{#38002}

Powered by Google App Engine
This is Rietveld 408576698