v8/test/unittests/interpreter
Shu-yu Guo 15cc02b4e8 [shared-struct] Disallow property redefinition
Shared objects have fixed layout (i.e. immutable maps) and start off
sealed. Ordinary JS objects allow writable properties to be redefined to
be non-writable. This violates the fixed layout invariant and needs to
be disallowed.

Also contains a drive-by fix removing
@highestInstanceTypeWithinParentClassRange, which is unneeded.

Bug: chromium:1407595, v8:12547
Change-Id: I0257fa19f59ccfaaf0e07cb42aeedd71e132d21a
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/4190525
Reviewed-by: Camillo Bruni <cbruni@chromium.org>
Commit-Queue: Shu-yu Guo <syg@chromium.org>
Cr-Commit-Position: refs/heads/main@{#85570}
2023-01-31 18:42:46 +00:00
..
bytecode_expectations [shared-struct] Disallow property redefinition 2023-01-31 18:42:46 +00:00
bytecode-array-builder-unittest.cc [class] set function name for computed fields 2023-01-23 20:10:44 +00:00
bytecode-array-iterator-unittest.cc [ic] name Set/Define/Store property operations more consistently 2022-03-08 18:48:16 +00:00
bytecode-array-random-iterator-unittest.cc [ic] name Set/Define/Store property operations more consistently 2022-03-08 18:48:16 +00:00
bytecode-array-writer-unittest.cc [interpreter] Use v8_flags for accessing flag values 2022-09-15 12:06:07 +00:00
bytecode-decoder-unittest.cc [ignition] Remove unused count from param index getters 2021-12-16 15:43:22 +00:00
bytecode-expectations-printer.cc [interpreter] Use v8_flags for accessing flag values 2022-09-15 12:06:07 +00:00
bytecode-expectations-printer.h [test] Move cctest/interpreter to unittests 2022-06-10 08:37:10 +00:00
bytecode-generator-unittest.cc [interpreter] Use v8_flags for accessing flag values 2022-09-15 12:06:07 +00:00
bytecode-node-unittest.cc [ic] name Set/Define/Store property operations more consistently 2022-03-08 18:48:16 +00:00
bytecode-operands-unittest.cc Move remaining files in src/ 2019-05-24 18:24:36 +00:00
bytecode-register-allocator-unittest.cc Move remaining files in src/ 2019-05-24 18:24:36 +00:00
bytecode-register-optimizer-unittest.cc [ignition] Remove unused count from param index getters 2021-12-16 15:43:22 +00:00
bytecode-source-info-unittest.cc Move remaining files in src/ 2019-05-24 18:24:36 +00:00
bytecode-utils.h Move relevant files to src/execution 2019-05-22 08:36:33 +00:00
bytecodes-unittest.cc [ignition] Remove unused count from param index getters 2021-12-16 15:43:22 +00:00
constant-array-builder-unittest.cc [offthread] Add an OffThreadIsolate 2020-02-04 11:37:47 +00:00
generate-bytecode-expectations.cc [interpreter] Use v8_flags for accessing flag values 2022-09-15 12:06:07 +00:00
interpreter-assembler-unittest.cc [interpreter] Rename bytecode operand flag accessors in assembler 2022-08-31 14:36:17 +00:00
interpreter-assembler-unittest.h [Compiler] Remove untrusted code mitigations. 2021-08-12 12:58:24 +00:00
interpreter-intrinsics-unittest.cc [test] Move cctest/interpreter to unittests 2022-06-10 08:37:10 +00:00
interpreter-tester.cc [interpreter] Use v8_flags for accessing flag values 2022-09-15 12:06:07 +00:00
interpreter-tester.h [test] Move cctest/interpreter to unittests 2022-06-10 08:37:10 +00:00
interpreter-unittest.cc Rename CodeDataContainer to Code 2023-01-18 08:44:08 +00:00
source-position-matcher.cc [test] Move cctest/interpreter to unittests 2022-06-10 08:37:10 +00:00
source-position-matcher.h [test] Move cctest/interpreter to unittests 2022-06-10 08:37:10 +00:00
source-positions-unittest.cc Fix some random presubmit failures 2022-09-16 10:41:24 +00:00