• littledan's avatar
    Update to ES2015 == semantics for Symbol/SIMD wrappers · b436635a
    littledan authored
    When == is invoked on a Symbol or SIMD vector and an object, the object should
    be converted to a primitive with ToPrimitive and then compared again. This means,
    for example, that for a Symbol or SIMD vector s, s == Object(s). This patch makes
    that change in the implementation of ==. Only the runtime function needed to be
    changed, as the code stubs and compiler specializations don't operate on Symbols
    or SIMD vectors, and on these types, a fallback to the runtime function is always
    used.
    
    BUG=v8:3593
    LOG=Y
    R=adamk
    
    Review URL: https://codereview.chromium.org/1421413002
    
    Cr-Commit-Position: refs/heads/master@{#31614}
    b436635a
Name
Last commit
Last update
..
benchmarks Loading commit data...
cctest 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...
bot_default.gyp Loading commit data...
bot_default.isolate Loading commit data...
default.gyp Loading commit data...
default.isolate Loading commit data...
optimize_for_size.gyp Loading commit data...
optimize_for_size.isolate Loading commit data...