503b56efdf
Add a map check for the RHS of instanceof checks (i.e. the class) when loading its hasInstance method. We were previously confirming the value of the RHS, to make sure that it's a constant, but not considering the case that the map of that class could change (e.g. because of a prototype change or field definition). Bug: v8:7700 Change-Id: Ia2923b99dd0524670bebcc57e4c0c209f8835d04 Fixed: chromium:1407959 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/4173568 Auto-Submit: Leszek Swirski <leszeks@chromium.org> Commit-Queue: Leszek Swirski <leszeks@chromium.org> Reviewed-by: Victor Gomes <victorgomes@chromium.org> Cr-Commit-Position: refs/heads/main@{#85336} |
||
---|---|---|
.. | ||
benchmarks | ||
bigint | ||
cctest | ||
common | ||
debugger | ||
debugging | ||
fuzzer | ||
fuzzilli | ||
inspector | ||
intl | ||
js-perf-test | ||
memory | ||
message | ||
mjsunit | ||
mkgrokdump | ||
mozilla | ||
test262 | ||
torque | ||
unittests | ||
wasm-api-tests | ||
wasm-js | ||
wasm-spec-tests | ||
webkit | ||
BUILD.gn | ||
OWNERS |