Description[stubs] Port SubStringStub to TurboFan
This ports the platform-specific SubStringStub to TurboFan.
It also contains a minor bug-fix for the case when the requested substring
length equals the subject string length, but the start index is not equal to 0.
The old stub implementation returned the subject string, while the new
implementation calls into runtime, which finally results in a thrown exception.
BUG=v8:5415
Committed: https://crrev.com/49be31921536716706a6790fbbf9c346b975af16
Committed: https://crrev.com/261d750ea54438089eed71d1b7f57fe741e44ce7
Cr-Original-Commit-Position: refs/heads/master@{#39653}
Cr-Commit-Position: refs/heads/master@{#39851}
Patch Set 1 #Patch Set 2 : Fix one/two typo #Patch Set 3 : Rebase #Patch Set 4 : Turn proper substring case into straight-line path #
Total comments: 3
Patch Set 5 : Fix bug in handling of from/to indices #
Total comments: 6
Patch Set 6 : Address comments #Patch Set 7 : Address comments #
Total comments: 12
Patch Set 8 : Address comments #Patch Set 9 : Do not store pointer into external string in tagged variable #Patch Set 10 : Do not store pointer into external string in tagged variable #Patch Set 11 : Rebase and simplification #Patch Set 12 : Compilation fixes #Patch Set 13 : Remove garbage file #
Total comments: 4
Patch Set 14 : Address comments #
Messages
Total messages: 72 (56 generated)
|