[shared-struct] Remove descriptor count check for JSSharedArrayMap
... which might fail during map configuration. Bug: v8:12993, v8:12547 Change-Id: Ia57fe60abf4164d81a1352966f9d07016e882be9 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3717993 Reviewed-by: Patrick Thier <pthier@chromium.org> Auto-Submit: Igor Sheludko <ishell@chromium.org> Commit-Queue: Patrick Thier <pthier@chromium.org> Cr-Commit-Position: refs/heads/main@{#81306}
This commit is contained in:
parent
f914df6574
commit
96e939d059
@ -557,8 +557,6 @@ void Map::MapVerify(Isolate* isolate) {
|
|||||||
CHECK(instance_descriptors(isolate).InSharedHeap());
|
CHECK(instance_descriptors(isolate).InSharedHeap());
|
||||||
if (IsJSSharedArrayMap()) {
|
if (IsJSSharedArrayMap()) {
|
||||||
CHECK(has_shared_array_elements());
|
CHECK(has_shared_array_elements());
|
||||||
// SharedArrys have only one descriptor, the length accessor.
|
|
||||||
CHECK_EQ(NumberOfOwnDescriptors(), 1);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user