DescriptionFast-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 #Messages
Total messages: 23 (17 generated)
|