v8/test
Mike Stanton 758816f438 [compiler] Representation mismatch detection missed a case
In GetOwnFastDataPropertyFromHeap, we read a property value
then compare it with the expected representation. We already
had code to bail out of that particular optimization if there
was a mismatch, however it missed the case of expected
representation being a HeapObject, and when a Smi value was found.

The fix is to use the excellent pre-existing method
Object::FitsRepresentation() to make this check. Thusly, all
cases are handled.

Bug: chromium:1225607, v8:7790
Change-Id: I7d9b1b7722d9691cf5427f8456a6deb466dda0d3
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3008218
Commit-Queue: Michael Stanton <mvstanton@chromium.org>
Reviewed-by: Santiago Aboy Solanes <solanes@chromium.org>
Cr-Commit-Position: refs/heads/master@{#75587}
2021-07-06 13:05:47 +00:00
..
benchmarks [test] Mark kraken/audio SLOW only on TSAN 2021-06-30 15:21:55 +00:00
bigint [bigint] Burnikel-Ziegler division 2021-06-22 17:58:21 +00:00
cctest [compiler] TSAN data race on HeapNumber::value_as_bits() 2021-07-06 13:04:17 +00:00
common Fix most instances of -Wunreachable-code-aggressive. 2021-07-01 03:03:25 +00:00
debugger Revert "Reland "Improve error messages for property access on null/undefined"" 2021-07-06 09:46:11 +00:00
debugging [d8][mjsunit][tools] Improve d8 file API 2021-06-01 13:37:57 +00:00
fuzzer [wasm][fuzzer] Remove unused arguments 2021-07-05 14:10:57 +00:00
fuzzilli
inspector [inspector] Add throwOnSideEffect to Runtime.callFunctionOn. 2021-07-05 12:53:07 +00:00
intl [intl] Skip intl test on Android 2021-06-24 13:15:53 +00:00
js-perf-test A jump-table implementation for constant case switch statements 2021-06-23 09:26:23 +00:00
memory
message Revert "Reland "Improve error messages for property access on null/undefined"" 2021-07-06 09:46:11 +00:00
mjsunit [compiler] Representation mismatch detection missed a case 2021-07-06 13:05:47 +00:00
mkgrokdump
mozilla Reland "[test] Unmark TSAN tests as SLOW/SKIP" 2021-06-28 10:19:20 +00:00
test262 [test262] Roll test262 2021-06-29 07:35:31 +00:00
torque
unittests [compiler] Fix a (harmless) DCHECK failure 2021-07-05 11:17:17 +00:00
wasm-api-tests [wasm] Make --wasm-trap-handler a d8-only flag 2021-06-30 09:32:55 +00:00
wasm-js [wasm] Update spec tests 2021-06-07 11:45:44 +00:00
wasm-spec-tests Reland "[test] Unmark TSAN tests as SLOW/SKIP" 2021-06-28 10:19:20 +00:00
webkit Revert "Reland "Improve error messages for property access on null/undefined"" 2021-07-06 09:46:11 +00:00
BUILD.gn Reland^2 "[bigint] Karatsuba multiplication" 2021-06-07 11:01:14 +00:00
OWNERS