Commit e408864d authored by cbruni's avatar cbruni Committed by Commit bot

Remove last references to NeanderObject

All uses of NeanderObject have been replaced by FixedArrays.

BUG=

Review-Url: https://codereview.chromium.org/2447123002
Cr-Commit-Position: refs/heads/master@{#40575}
parent f5d4f8f8
......@@ -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<JSObject> NewNeanderObject() {
return NewJSObjectFromMap(neander_map());
}
Handle<JSWeakMap> NewJSWeakMap();
Handle<JSObject> NewArgumentsObject(Handle<JSFunction> callee, int length);
......
......@@ -2538,16 +2538,6 @@ AllocationResult Heap::AllocateTransitionArray(int capacity) {
void Heap::CreateApiObjects() {
HandleScope scope(isolate());
Factory* factory = isolate()->factory();
Handle<Map> 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));
}
......
......@@ -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) \
......
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