diff --git a/src/compiler/heap-refs.h b/src/compiler/heap-refs.h index 5760a05d2a..ce57f1a071 100644 --- a/src/compiler/heap-refs.h +++ b/src/compiler/heap-refs.h @@ -61,8 +61,6 @@ enum class OddballType : uint8_t { /* Subtypes of FixedArray */ \ V(ObjectBoilerplateDescription) \ V(ScopeInfo) \ - /* Subtypes of Name */ \ - V(Symbol) \ /* Subtypes of HeapObject */ \ V(AccessorInfo) \ V(ArrayBoilerplateDescription) \ @@ -94,6 +92,7 @@ enum class OddballType : uint8_t { /* Subtypes of Name */ \ V(InternalizedString) \ V(String) \ + V(Symbol) \ /* Subtypes of JSReceiver */ \ V(JSObject) \ /* Subtypes of HeapObject */ \ diff --git a/src/compiler/js-heap-broker.cc b/src/compiler/js-heap-broker.cc index c6ee91a0d0..b8af7f27e5 100644 --- a/src/compiler/js-heap-broker.cc +++ b/src/compiler/js-heap-broker.cc @@ -850,9 +850,7 @@ class StringData : public NameData { class SymbolData : public NameData { public: SymbolData(JSHeapBroker* broker, ObjectData** storage, Handle object) - : NameData(broker, storage, object) { - DCHECK(!FLAG_turbo_direct_heap_access); - } + : NameData(broker, storage, object) {} }; namespace {