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

Issue 1985033002: [Interpreter] Change LogicalNot to ToBooleanLogicalNot and add non-ToBoolean version. (Closed)

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

Description

[Interpreter] Change LogicalNot to ToBooleanLogicalNot and add non-ToBoolean version. Makes LogicalNot bytecode not do the ToBoolean operation, and add support in the peephole optimizer to choose between the appropriate bytecode depending upon whether the previous bytecode emitted a boolean or not. BUG=v8:4280 LOG=N Committed: https://crrev.com/8352ad50e651c223ee7472bd23cbdeadfbe08cf2 Cr-Commit-Position: refs/heads/master@{#36295}

Patch Set 1 #

Patch Set 2 : #

Total comments: 2

Patch Set 3 : Rebase #

Patch Set 4 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+106 lines, -39 lines) Patch
M src/bailout-reason.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M src/compiler/bytecode-graph-builder.cc View 1 2 1 chunk +7 lines, -0 lines 0 comments Download
M src/interpreter/bytecode-array-builder.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/interpreter/bytecode-peephole-optimizer.cc View 1 1 chunk +11 lines, -5 lines 0 comments Download
M src/interpreter/bytecodes.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/interpreter/bytecodes.cc View 1 chunk +1 line, -0 lines 0 comments Download
M src/interpreter/interpreter.h View 1 2 2 chunks +7 lines, -0 lines 0 comments Download
M src/interpreter/interpreter.cc View 1 2 2 chunks +30 lines, -13 lines 0 comments Download
M src/interpreter/interpreter-assembler.h View 2 chunks +2 lines, -4 lines 0 comments Download
M test/cctest/interpreter/bytecode_expectations/ForOf.golden View 1 2 8 chunks +8 lines, -8 lines 0 comments Download
M test/cctest/interpreter/bytecode_expectations/Generators.golden View 1 2 3 6 chunks +6 lines, -6 lines 0 comments Download
M test/cctest/interpreter/bytecode_expectations/UnaryOperators.golden View 1 chunk +1 line, -1 line 0 comments Download
M test/unittests/interpreter/bytecode-array-builder-unittest.cc View 1 chunk +4 lines, -1 line 0 comments Download
M test/unittests/interpreter/bytecode-peephole-optimizer-unittest.cc View 1 chunk +26 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 20 (8 generated)
rmcilroy
Orion, PTAL at interpreter changes. Benedikt, PTAL at compiler changes. Thanks.
4 years, 7 months ago (2016-05-17 11:40:18 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1985033002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1985033002/20001
4 years, 7 months ago (2016-05-17 11:40:35 UTC) #4
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: v8_linux_dbg_ng on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux_dbg_ng/builds/5833) v8_linux_nodcheck_rel_ng on ...
4 years, 7 months ago (2016-05-17 11:41:45 UTC) #6
Benedikt Meurer
LGTM on compiler.
4 years, 7 months ago (2016-05-17 12:27:47 UTC) #7
oth
No problems with this CL, but I am wary of how many conditions we add ...
4 years, 7 months ago (2016-05-17 12:50:46 UTC) #8
oth
On 2016/05/17 12:50:46, oth wrote: > No problems with this CL, but I am wary ...
4 years, 7 months ago (2016-05-17 15:07:51 UTC) #9
rmcilroy
> No problems with this CL, but I am wary of how many conditions we ...
4 years, 7 months ago (2016-05-17 16:25:47 UTC) #10
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1985033002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1985033002/40001
4 years, 7 months ago (2016-05-17 16:41:27 UTC) #12
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: v8_linux64_rel_ng on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux64_rel_ng/builds/5845) v8_linux_mips64el_compile_rel on ...
4 years, 7 months ago (2016-05-17 16:42:39 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1985033002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1985033002/60001
4 years, 7 months ago (2016-05-17 20:04:51 UTC) #17
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 7 months ago (2016-05-17 20:39:55 UTC) #18
commit-bot: I haz the power
4 years, 7 months ago (2016-05-17 20:41:13 UTC) #20
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/8352ad50e651c223ee7472bd23cbdeadfbe08cf2
Cr-Commit-Position: refs/heads/master@{#36295}

Powered by Google App Engine
This is Rietveld 408576698