DescriptionValueSerializer: Share string encoding code with String and RegExp objects.
This avoids the need to pull in the UTF-8 encoding code from the public API,
and allows it to take advantage of any supported way that i::String can be
encoded (one- or two-byte).
Backward compatibility is maintained, but this is the behavior beginning
with this version.
BUG=chromium:686159
Review-Url: https://codereview.chromium.org/2665653004
Cr-Commit-Position: refs/heads/master@{#42872}
Committed: https://chromium.googlesource.com/v8/v8/+/591cc0b4ccdb6934d76ea163569b5194faef4dcf
Patch Set 1 #
Messages
Total messages: 16 (12 generated)
|