[compiler] Mark AccessorInfo as NeverEverSerialized

Bug: v8:7790
Change-Id: Ia31d2fb11b60f94ec1a67331e4395dbc57678c03
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2985241
Commit-Queue: Jakob Gruber <jgruber@chromium.org>
Reviewed-by: Michael Stanton <mvstanton@chromium.org>
Cr-Commit-Position: refs/heads/master@{#75702}
This commit is contained in:
Santiago Aboy Solanes 2021-07-06 11:54:30 +01:00 committed by V8 LUCI CQ
parent 0165f8eb35
commit ee8b9efc82

View File

@ -884,7 +884,13 @@ class InternalizedStringData : public StringData {
class AccessorInfoData : public HeapObjectData {
public:
AccessorInfoData(JSHeapBroker* broker, ObjectData** storage,
Handle<AccessorInfo> object);
Handle<AccessorInfo> object)
: HeapObjectData(broker, storage, object) {
// AccessorInfoData is NeverEverSerialize.
// TODO(solanes, v8:7790): Remove this class once all kNeverSerialized types
// are NeverEverSerialize.
UNREACHABLE();
}
};
class AllocationSiteData : public HeapObjectData {
@ -1070,12 +1076,6 @@ class MapData : public HeapObjectData {
bool serialized_for_element_store_ = false;
};
AccessorInfoData::AccessorInfoData(JSHeapBroker* broker, ObjectData** storage,
Handle<AccessorInfo> object)
: HeapObjectData(broker, storage, object) {
DCHECK(!broker->is_concurrent_inlining());
}
AllocationSiteData::AllocationSiteData(JSHeapBroker* broker,
ObjectData** storage,
Handle<AllocationSite> object)
@ -2409,6 +2409,7 @@ bool NeverEverSerialize() {
return true; \
}
NEVER_EVER_SERIALIZE(AccessorInfo)
NEVER_EVER_SERIALIZE(ArrayBoilerplateDescription)
NEVER_EVER_SERIALIZE(BytecodeArray)
NEVER_EVER_SERIALIZE(Cell)