DescriptionUpdate to ES2015 == semantics for Symbol/SIMD wrappers
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
Committed: https://crrev.com/b436635ac4f81f0248eefea4bc83e7cb0f5c3e21
Cr-Commit-Position: refs/heads/master@{#31614}
Patch Set 1 #Patch Set 2 : fix formatting #Patch Set 3 : Fix tests #Patch Set 4 : Fixes a test262 test #Patch Set 5 : make ordering closer to other clauses #
Messages
Total messages: 28 (12 generated)
|