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

Issue 2489273002: Fast-path in SlowFlatten for ConsStrings with empty first part (Closed)

Created:
4 years, 1 month ago by jgruber
Modified:
4 years, 1 month ago
Reviewers:
Benedikt Meurer, Yang
CC:
v8-reviews_googlegroups.com, Benedikt Meurer
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Fast-path in SlowFlatten for ConsStrings with empty first part TurboFan can create ConsStrings with empty first parts (for history on this decision, see da27e0c88602218b3d5bdd6056d705063b1bf792). Add a fast-path for such cases in String::SlowFlatten. BUG= Committed: https://crrev.com/806b350482b7c6423a5bac561a7fa8f55fcc845c Cr-Commit-Position: refs/heads/master@{#40885}

Patch Set 1 #

Patch Set 2 : Move heap allocation assert after fast path #

Patch Set 3 : Ensure string length does not change in test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+41 lines, -1 line) Patch
M src/objects.cc View 1 1 chunk +5 lines, -1 line 0 comments Download
M test/cctest/test-strings.cc View 1 2 1 chunk +36 lines, -0 lines 0 comments Download

Messages

Total messages: 23 (17 generated)
jgruber
4 years, 1 month ago (2016-11-10 10:33:19 UTC) #8
Yang
On 2016/11/10 10:33:19, jgruber wrote: lgtm.
4 years, 1 month ago (2016-11-10 10:34:07 UTC) #11
Benedikt Meurer
LGTM, thanks.
4 years, 1 month ago (2016-11-10 10:36:34 UTC) #13
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/2489273002/40001
4 years, 1 month ago (2016-11-10 11:20:53 UTC) #20
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 1 month ago (2016-11-10 11:23:14 UTC) #21
commit-bot: I haz the power
4 years, 1 month ago (2016-11-17 22:28:51 UTC) #23
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/806b350482b7c6423a5bac561a7fa8f55fcc845c
Cr-Commit-Position: refs/heads/master@{#40885}

Powered by Google App Engine
This is Rietveld 408576698