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

Issue 1891663004: [compiler] Prevent unnecessary parsing with interpreter. (Closed)

Created:
4 years, 8 months ago by Michael Starzinger
Modified:
4 years, 8 months ago
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

[compiler] Prevent unnecessary parsing with interpreter. This disables parsing when we optimize directly from bytecode using TurboFan, because TurboFan is capable of building graphs out of the bytecode directly. R=bmeurer@chromium.org BUG=v8:4280 LOG=n Committed: https://crrev.com/8a29223c0183ec99cfb8e9f926976774b2b9db26 Cr-Commit-Position: refs/heads/master@{#35567}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Addressed comments. #

Patch Set 3 : Fix cctest after adding flag. #

Patch Set 4 : Adapt function tester. #

Patch Set 5 : Rebased. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+49 lines, -18 lines) Patch
M src/compiler.h View 1 2 3 4 2 chunks +7 lines, -0 lines 0 comments Download
M src/compiler.cc View 1 2 3 4 3 chunks +26 lines, -10 lines 0 comments Download
M src/compiler/pipeline.cc View 1 2 3 4 3 chunks +12 lines, -8 lines 0 comments Download
M test/cctest/compiler/function-tester.h View 1 2 3 1 chunk +3 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

Messages

Total messages: 18 (9 generated)
Michael Starzinger
Benedikt: PTAL. Ross: FYI. https://codereview.chromium.org/1891663004/diff/1/src/compiler/pipeline.cc File src/compiler/pipeline.cc (right): https://codereview.chromium.org/1891663004/diff/1/src/compiler/pipeline.cc#newcode559 src/compiler/pipeline.cc:559: if (!data->info()->shared_info()->HasBytecodeArray()) { We could ...
4 years, 8 months ago (2016-04-15 12:21:40 UTC) #3
Benedikt Meurer
https://codereview.chromium.org/1891663004/diff/1/src/compiler/pipeline.cc File src/compiler/pipeline.cc (right): https://codereview.chromium.org/1891663004/diff/1/src/compiler/pipeline.cc#newcode559 src/compiler/pipeline.cc:559: if (!data->info()->shared_info()->HasBytecodeArray()) { I'd really prefer the kOptimizeFromBytecode flag.
4 years, 8 months ago (2016-04-15 12:38:28 UTC) #5
rmcilroy
https://codereview.chromium.org/1891663004/diff/1/src/compiler/pipeline.cc File src/compiler/pipeline.cc (right): https://codereview.chromium.org/1891663004/diff/1/src/compiler/pipeline.cc#newcode559 src/compiler/pipeline.cc:559: if (!data->info()->shared_info()->HasBytecodeArray()) { On 2016/04/15 12:38:27, Benedikt Meurer wrote: ...
4 years, 8 months ago (2016-04-15 13:19:12 UTC) #6
Michael Starzinger
PTAL. Addressed comments. https://codereview.chromium.org/1891663004/diff/1/src/compiler/pipeline.cc File src/compiler/pipeline.cc (right): https://codereview.chromium.org/1891663004/diff/1/src/compiler/pipeline.cc#newcode559 src/compiler/pipeline.cc:559: if (!data->info()->shared_info()->HasBytecodeArray()) { On 2016/04/15 12:38:27, ...
4 years, 8 months ago (2016-04-15 13:21:48 UTC) #7
Benedikt Meurer
LGTM.
4 years, 8 months ago (2016-04-15 13:26:26 UTC) #8
rmcilroy
Nice, LGTM
4 years, 8 months ago (2016-04-15 13:33:14 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1891663004/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1891663004/120001
4 years, 8 months ago (2016-04-18 09:07:37 UTC) #14
commit-bot: I haz the power
Committed patchset #5 (id:120001)
4 years, 8 months ago (2016-04-18 09:10:06 UTC) #16
commit-bot: I haz the power
4 years, 8 months ago (2016-04-18 09:11:27 UTC) #18
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/8a29223c0183ec99cfb8e9f926976774b2b9db26
Cr-Commit-Position: refs/heads/master@{#35567}

Powered by Google App Engine
This is Rietveld 408576698