• littledan's avatar
    Avoid calling the builtin String.prototype.split in Intl · 97e8046e
    littledan authored
    The Intl code previously called the initial value of String.prototype.split
    for some internal operations. However, this did not have the intended effect
    as Intl only needs to split strings by strings, but String.prototype.split
    has integration with Symbol.split for RegExps.
    
    This patch replaces the calls of StringSplit in the Intl implementation
    with direct calls to the %StringSplit runtime function to avoid the issue.
    
    R=yangguo@chromium.org
    BUG=v8:5179
    
    Review-Url: https://codereview.chromium.org/2126073002
    Cr-Commit-Position: refs/heads/master@{#37615}
    97e8046e
Name
Last commit
Last update
..
benchmarks Loading commit data...
cctest Loading commit data...
fuzzer Loading commit data...
intl Loading commit data...
js-perf-test Loading commit data...
memory Loading commit data...
message Loading commit data...
mjsunit Loading commit data...
mozilla Loading commit data...
preparser Loading commit data...
promises-aplus Loading commit data...
simdjs Loading commit data...
test262 Loading commit data...
unittests Loading commit data...
webkit Loading commit data...
BUILD.gn Loading commit data...
bot_default.gyp Loading commit data...
bot_default.isolate Loading commit data...
default.gyp Loading commit data...
default.isolate Loading commit data...
ignition.gyp Loading commit data...
ignition.isolate Loading commit data...
optimize_for_size.gyp Loading commit data...
optimize_for_size.isolate Loading commit data...
perf.gyp Loading commit data...
perf.isolate Loading commit data...