Index: src/heap/heap.cc |
diff --git a/src/heap/heap.cc b/src/heap/heap.cc |
index 1a28415e7ceba951cd9d63eb48cd6ec3caee5560..85c060e300436e6faf58884a548eed4af6fd2d18 100644 |
--- a/src/heap/heap.cc |
+++ b/src/heap/heap.cc |
@@ -2537,16 +2537,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)); |
} |