Description[regexp] Properly flatten string during initialization
This fixes an incorrect usage of String::Flatten in EscapeRegExpSource.
It also adds %ConstructConsString (to easily and reliably construct cons
strings in tests) and Factory::NewConsString (to enable guaranteed cons
string construction without preemptive flattening attempts).
BUG=chromium:698790
Review-Url: https://codereview.chromium.org/2736383003
Cr-Commit-Position: refs/heads/master@{#43686}
Committed: https://chromium.googlesource.com/v8/v8/+/5002a4a96144cd1c1d2031314e39c7dee68fc450
Patch Set 1 #
Total comments: 2
Patch Set 2 : Better DCHECKs #
Messages
Total messages: 15 (9 generated)
|