| Index: src/heap/heap.cc
|
| diff --git a/src/heap/heap.cc b/src/heap/heap.cc
|
| index f40fe4b958d42afe3ad05ad12af7cfc25a4b8fe9..44c59a20b69cd6c4b8d5a8a8f6dbbcc12d94f186 100644
|
| --- a/src/heap/heap.cc
|
| +++ b/src/heap/heap.cc
|
| @@ -2258,6 +2258,7 @@ bool Heap::CreateInitialMaps() {
|
| if (FLAG_unbox_double_fields) {
|
| null_map()->set_layout_descriptor(LayoutDescriptor::FastPointerLayout());
|
| }
|
| + null_map()->set_is_undetectable();
|
|
|
| // Fix prototype object for existing maps.
|
| meta_map()->set_prototype(null_value());
|
| @@ -2268,6 +2269,7 @@ bool Heap::CreateInitialMaps() {
|
|
|
| undefined_map()->set_prototype(null_value());
|
| undefined_map()->set_constructor_or_backpointer(null_value());
|
| + undefined_map()->set_is_undetectable();
|
|
|
| null_map()->set_prototype(null_value());
|
| null_map()->set_constructor_or_backpointer(null_value());
|
|
|