diff --git a/src/factory.h b/src/factory.h index 144e0db5b2..6a64e93f7d 100644 --- a/src/factory.h +++ b/src/factory.h @@ -430,12 +430,6 @@ class V8_EXPORT_PRIVATE Factory final { SIMD128_TYPES(SIMD128_NEW_DECL) #undef SIMD128_NEW_DECL - // These objects are used by the api to create env-independent data - // structures in the heap. - inline Handle NewNeanderObject() { - return NewJSObjectFromMap(neander_map()); - } - Handle NewJSWeakMap(); Handle NewArgumentsObject(Handle callee, int length); diff --git a/src/heap/heap.cc b/src/heap/heap.cc index 6103db2077..104175ddac 100644 --- a/src/heap/heap.cc +++ b/src/heap/heap.cc @@ -2538,16 +2538,6 @@ AllocationResult Heap::AllocateTransitionArray(int capacity) { void Heap::CreateApiObjects() { HandleScope scope(isolate()); - Factory* factory = isolate()->factory(); - Handle new_neander_map = - factory->NewMap(JS_OBJECT_TYPE, JSObject::kHeaderSize); - - // Don't use Smi-only elements optimizations for objects with the neander - // map. There are too many cases where element values are set directly with a - // bottleneck to trap the Smi-only -> fast elements transition, and there - // appears to be no benefit for optimize this case. - new_neander_map->set_elements_kind(TERMINAL_FAST_ELEMENTS_KIND); - set_neander_map(*new_neander_map); set_message_listeners(*TemplateList::New(isolate(), 2)); } diff --git a/src/heap/heap.h b/src/heap/heap.h index 30949bb64a..79c4685008 100644 --- a/src/heap/heap.h +++ b/src/heap/heap.h @@ -91,7 +91,6 @@ using v8::MemoryPressureLevel; V(Map, unseeded_number_dictionary_map, UnseededNumberDictionaryMap) \ V(Map, sloppy_arguments_elements_map, SloppyArgumentsElementsMap) \ V(Map, message_object_map, JSMessageObjectMap) \ - V(Map, neander_map, NeanderMap) \ V(Map, external_map, ExternalMap) \ V(Map, bytecode_array_map, BytecodeArrayMap) \ /* String maps */ \ @@ -306,7 +305,6 @@ using v8::MemoryPressureLevel; V(ArgumentsMarkerMap) \ V(JSMessageObjectMap) \ V(ForeignMap) \ - V(NeanderMap) \ V(NanValue) \ V(InfinityValue) \ V(MinusZeroValue) \