Commit 1ea33324 authored by Santiago Aboy Solanes's avatar Santiago Aboy Solanes Committed by V8 LUCI CQ

[compiler] Mark Cell as NeverEverSerialized

Bug: v8:7790
Change-Id: I5e38137b5c01119e47c98879fe549b629343e7ce
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2982341
Commit-Queue: Santiago Aboy Solanes <solanes@chromium.org>
Reviewed-by: 's avatarGeorg Neis <neis@chromium.org>
Cr-Commit-Position: refs/heads/master@{#75360}
parent e03051ea
...@@ -2180,7 +2180,10 @@ class CellData : public HeapObjectData { ...@@ -2180,7 +2180,10 @@ class CellData : public HeapObjectData {
public: public:
CellData(JSHeapBroker* broker, ObjectData** storage, Handle<Cell> object) CellData(JSHeapBroker* broker, ObjectData** storage, Handle<Cell> object)
: HeapObjectData(broker, storage, object) { : HeapObjectData(broker, storage, object) {
DCHECK(!broker->is_concurrent_inlining()); // CellData is NeverEverSerialize.
// TODO(solanes, v8:7790): Remove this class once all kNeverSerialized types
// are NeverEverSerialize.
UNREACHABLE();
} }
}; };
...@@ -2817,6 +2820,7 @@ bool NeverEverSerialize() { ...@@ -2817,6 +2820,7 @@ bool NeverEverSerialize() {
NEVER_EVER_SERIALIZE(ArrayBoilerplateDescription) NEVER_EVER_SERIALIZE(ArrayBoilerplateDescription)
NEVER_EVER_SERIALIZE(BytecodeArray) NEVER_EVER_SERIALIZE(BytecodeArray)
NEVER_EVER_SERIALIZE(Cell)
NEVER_EVER_SERIALIZE(ObjectBoilerplateDescription) NEVER_EVER_SERIALIZE(ObjectBoilerplateDescription)
NEVER_EVER_SERIALIZE(RegExpBoilerplateDescription) NEVER_EVER_SERIALIZE(RegExpBoilerplateDescription)
NEVER_EVER_SERIALIZE(TemplateObjectDescription) NEVER_EVER_SERIALIZE(TemplateObjectDescription)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment