Commit 73875e95 authored by Santiago Aboy Solanes's avatar Santiago Aboy Solanes Committed by Commit Bot

[compiler] Mark Name as kNeverSerialized

Bug: v8:7790
Change-Id: I44469e08131ad6a5f95a465cf2d461da0785221e
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2616218
Commit-Queue: Santiago Aboy Solanes <solanes@chromium.org>
Reviewed-by: 's avatarGeorg Neis <neis@chromium.org>
Cr-Commit-Position: refs/heads/master@{#72012}
parent 79c0db8f
......@@ -71,6 +71,7 @@ enum class OddballType : uint8_t {
V(ArrayBoilerplateDescription) \
V(CallHandlerInfo) \
V(Cell) \
V(Name) \
V(TemplateObjectDescription)
// This list is sorted such that subtypes appear before their supertypes.
......@@ -108,7 +109,6 @@ enum class OddballType : uint8_t {
V(HeapNumber) \
V(JSReceiver) \
V(Map) \
V(Name) \
V(PropertyCell) \
V(SharedFunctionInfo) \
V(SourceTextModule) \
......
......@@ -766,7 +766,9 @@ class NativeContextData : public ContextData {
class NameData : public HeapObjectData {
public:
NameData(JSHeapBroker* broker, ObjectData** storage, Handle<Name> object)
: HeapObjectData(broker, storage, object) {}
: HeapObjectData(broker, storage, object) {
DCHECK(!FLAG_turbo_direct_heap_access);
}
};
class StringData : public NameData {
......
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