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

Issue 1427743008: Do not switch to two-byte string in String.fromCharCode if avoidable. (Closed)

Created:
5 years, 1 month ago by Yang
Modified:
5 years, 1 month 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

Do not switch to two-byte string in String.fromCharCode if avoidable. R=bmeurer@chromium.org BUG=v8:4536 LOG=N Committed: https://crrev.com/742ae613eccbbfc8124c772af9a213f42df8875f Cr-Commit-Position: refs/heads/master@{#31872}

Patch Set 1 #

Total comments: 1

Patch Set 2 : simplify code #

Total comments: 1

Patch Set 3 : also fix bug #

Patch Set 4 : also fix fast path #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -10 lines) Patch
M src/js/string.js View 1 2 3 2 chunks +6 lines, -10 lines 0 comments Download
A test/mjsunit/regress/string-fromcharcode-sideeffect.js View 1 2 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (4 generated)
Yang
5 years, 1 month ago (2015-11-09 07:26:44 UTC) #1
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1427743008/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1427743008/1
5 years, 1 month ago (2015-11-09 07:28:02 UTC) #3
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 1 month ago (2015-11-09 07:47:29 UTC) #5
Benedikt Meurer
https://codereview.chromium.org/1427743008/diff/1/src/js/string.js File src/js/string.js (right): https://codereview.chromium.org/1427743008/diff/1/src/js/string.js#newcode785 src/js/string.js:785: if (!%_IsSmi(code)) code = TO_NUMBER(code); As discussed offline: Please ...
5 years, 1 month ago (2015-11-09 07:50:12 UTC) #6
Yang
On 2015/11/09 07:50:12, Benedikt Meurer wrote: > https://codereview.chromium.org/1427743008/diff/1/src/js/string.js > File src/js/string.js (right): > > https://codereview.chromium.org/1427743008/diff/1/src/js/string.js#newcode785 ...
5 years, 1 month ago (2015-11-09 07:53:08 UTC) #7
Benedikt Meurer
LGTM with nit. https://codereview.chromium.org/1427743008/diff/20001/src/js/string.js File src/js/string.js (right): https://codereview.chromium.org/1427743008/diff/20001/src/js/string.js#newcode794 src/js/string.js:794: if (!%_IsSmi(code)) code = TO_NUMBER(code) & ...
5 years, 1 month ago (2015-11-09 08:11:52 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1427743008/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1427743008/60001
5 years, 1 month ago (2015-11-09 08:17:25 UTC) #11
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 1 month ago (2015-11-09 08:53:34 UTC) #12
commit-bot: I haz the power
5 years, 1 month ago (2015-11-09 08:53:52 UTC) #13
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/742ae613eccbbfc8124c772af9a213f42df8875f
Cr-Commit-Position: refs/heads/master@{#31872}

Powered by Google App Engine
This is Rietveld 408576698