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

Issue 1765883002: [compiler] Reduce the code size of the ToBoolean stub. (Closed)

Created:
4 years, 9 months ago by epertoso
Modified:
4 years, 7 months ago
Reviewers:
Benedikt Meurer
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] Reduce the code size of the ToBoolean stub. We effectively have 4 different cases to deal with, including the default, but on some platform where we emit the jump table inline (e.g. arm64) we end up emitting an unconditional jump to the same address 127 times. BUG= Committed: https://crrev.com/914c6c52a544e6834605da04597e36ad519022c4 Cr-Commit-Position: refs/heads/master@{#35859}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Update #

Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -55 lines) Patch
M src/code-stubs.cc View 1 6 chunks +26 lines, -55 lines 0 comments Download

Messages

Total messages: 14 (7 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1765883002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1765883002/1
4 years, 9 months ago (2016-03-04 10:41:18 UTC) #2
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 9 months ago (2016-03-04 10:59:35 UTC) #4
Benedikt Meurer
LGTM with comment. https://codereview.chromium.org/1765883002/diff/1/src/code-stubs.cc File src/code-stubs.cc (right): https://codereview.chromium.org/1765883002/diff/1/src/code-stubs.cc#newcode1631 src/code-stubs.cc:1631: assembler->Return(assembler->BooleanConstant(false)); You could even further reduce ...
4 years, 8 months ago (2016-04-21 18:04:13 UTC) #7
epertoso
On 2016/04/21 at 18:04:13, bmeurer wrote: > LGTM with comment. > > https://codereview.chromium.org/1765883002/diff/1/src/code-stubs.cc > File ...
4 years, 7 months ago (2016-04-28 11:58:08 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1765883002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1765883002/20001
4 years, 7 months ago (2016-04-28 11:58:22 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 7 months ago (2016-04-28 12:22:04 UTC) #12
commit-bot: I haz the power
4 years, 7 months ago (2016-05-01 22:02:18 UTC) #14
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/914c6c52a544e6834605da04597e36ad519022c4
Cr-Commit-Position: refs/heads/master@{#35859}

Powered by Google App Engine
This is Rietveld 408576698