Home
last modified time | relevance | path

Searched refs:initial_map (Results 1 – 23 of 23) sorted by relevance

/external/v8/src/
Dbootstrapper.cc753 js_global_function->initial_map()->set_is_hidden_prototype(); in CreateNewGlobals()
781 global_proxy_function->initial_map()->set_is_access_check_needed(true); in CreateNewGlobals()
885 array_function->initial_map()->set_instance_descriptors(*array_descriptors); in InitializeGlobal()
923 Handle<Map>(global_context()->string_function()->initial_map()); in InitializeGlobal()
947 Handle<Map> initial_map(regexp_fun->initial_map()); in InitializeGlobal() local
949 ASSERT_EQ(0, initial_map->inobject_properties()); in InitializeGlobal()
1001 initial_map->set_inobject_properties(5); in InitializeGlobal()
1002 initial_map->set_pre_allocated_property_fields(5); in InitializeGlobal()
1003 initial_map->set_unused_property_fields(0); in InitializeGlobal()
1004 initial_map->set_instance_size( in InitializeGlobal()
[all …]
Dfactory.cc737 Handle<Map> initial_map = NewMap(type, instance_size); in NewFunction() local
739 initial_map->set_prototype(*prototype); in NewFunction()
740 function->set_initial_map(*initial_map); in NewFunction()
741 initial_map->set_constructor(*function); in NewFunction()
768 Handle<Map> initial_map = NewMap(type, in NewFunctionWithPrototype() local
771 function->set_initial_map(*initial_map); in NewFunctionWithPrototype()
772 initial_map->set_constructor(*function); in NewFunctionWithPrototype()
1263 Handle<Map> map = Handle<Map>(result->initial_map()); in CreateApiFunction()
1359 CopyMap(Handle<Map>(context->object_function()->initial_map()), in ObjectLiteralMapFromCache()
Dobjects-inl.h3516 ACCESSORS(SharedFunctionInfo, initial_map, Object, kInitialMapOffset) in ACCESSORS()
3650 return initial_map() != GetHeap()->undefined_value(); in BOOL_ACCESSORS()
3920 Map* JSFunction::initial_map() { in ACCESSORS()
3931 Map* initial_map) { in set_initial_map_and_cache_transitions() argument
3937 ASSERT(initial_map->elements_kind() == FAST_SMI_ONLY_ELEMENTS); in set_initial_map_and_cache_transitions()
3939 MaybeObject* maybe_map = initial_map->CopyDropTransitions(); in set_initial_map_and_cache_transitions()
3943 maybe_map = initial_map->AddElementsTransition(FAST_DOUBLE_ELEMENTS, in set_initial_map_and_cache_transitions()
3955 global_context->set_smi_js_array_map(initial_map); in set_initial_map_and_cache_transitions()
3959 set_initial_map(initial_map); in set_initial_map_and_cache_transitions()
3981 if (has_initial_map()) return initial_map()->prototype(); in instance_prototype()
Dheap.cc3557 object_function->initial_map()->CopyDropTransitions(); in AllocateFunctionPrototype()
3817 Object* initial_map; in AllocateJSObject() local
3819 if (!maybe_initial_map->ToObject(&initial_map)) return maybe_initial_map; in AllocateJSObject()
3821 constructor->set_initial_map(Map::cast(initial_map)); in AllocateJSObject()
3822 Map::cast(initial_map)->set_constructor(constructor); in AllocateJSObject()
3826 constructor->initial_map(), pretenure); in AllocateJSObject()
3942 Map* map = constructor->initial_map(); in AllocateGlobalObject()
4148 Map* map = constructor->initial_map(); in ReinitializeJSGlobalProxy()
4163 object->set_map(constructor->initial_map()); in ReinitializeJSGlobalProxy()
4419 Map* map = array_function->initial_map(); in AllocateJSArray()
Daccessors.cc98 number_function()->initial_map(); in FlattenNumber()
Dobjects-printer.cc730 initial_map()->ShortPrint(out); in JSFunctionPrint()
Dhandles.cc169 Handle<Map>(func->initial_map())); in SetExpectedNofProperties()
Dobjects.cc545 return map() != fun->initial_map() in IsDirty()
4773 ctor->initial_map()->instance_descriptors()->RemoveTransitions(); in CopyDropDescriptors()
7461 MaybeObject* maybe_new_map = initial_map()->CopyDropTransitions(); in SetInstancePrototype()
7836 Map* map = reinterpret_cast<Map*>(initial_map()); in DetachInitialMap()
7911 Map* map = Map::cast(initial_map()); in CompleteInobjectSlackTracking()
Dobjects.h5236 DECL_ACCESSORS(initial_map, Object)
5780 inline Map* initial_map();
Druntime.cc325 Handle<Map>(context->object_function()->initial_map()), in ComputeObjectLiteralMap()
357 ? Handle<Map>(context->object_function()->initial_map()) in CreateObjectLiteralBoilerplate()
1803 JSFunction::cast(constructor)->initial_map() == map) { in RUNTIME_FUNCTION()
7956 if (function->initial_map()->instance_type() == JS_FUNCTION_TYPE) { in RUNTIME_FUNCTION()
Dprofile-generator.cc2009 1, shared->initial_map(), in ExtractReferences()
Dhydrogen.cc6009 constructor->initial_map()->instance_type() == JS_OBJECT_TYPE; in IsAllocationInlineable()
/external/v8/test/cctest/
Dtest-heap.cc213 Handle<Map> initial_map = in TEST() local
215 function->set_initial_map(*initial_map); in TEST()
543 Handle<Map> initial_map = in TEST() local
545 function->set_initial_map(*initial_map); in TEST()
639 Handle<Map> initial_map = in TEST() local
641 function->set_initial_map(*initial_map); in TEST()
652 CHECK(*initial_map != obj->map()); in TEST()
877 Handle<Map> object_map(object_ctor->initial_map()); in TEST()
Dtest-mark-compact.cc193 Map* initial_map = in TEST() local
196 function->set_initial_map(initial_map); in TEST()
Dtest-alloc.cc158 Handle<Map> map(function->initial_map()); in TEST()
/external/v8/src/ia32/
Dlithium-codegen-ia32.cc4283 Handle<Map> initial_map(constructor->initial_map()); in DoAllocateObject() local
4284 int instance_size = initial_map->instance_size(); in DoAllocateObject()
4285 ASSERT(initial_map->pre_allocated_property_fields() + in DoAllocateObject()
4286 initial_map->unused_property_fields() - in DoAllocateObject()
4287 initial_map->inobject_properties() == 0); in DoAllocateObject()
4311 initial_map->pre_allocated_property_fields()); in DoAllocateObject()
4314 initial_map->unused_property_fields()); in DoAllocateObject()
4317 initial_map->inobject_properties()); in DoAllocateObject()
4322 ASSERT(initial_map->instance_type() == JS_OBJECT_TYPE); in DoAllocateObject()
4327 if (initial_map->inobject_properties() != 0) { in DoAllocateObject()
[all …]
Dstub-cache-ia32.cc286 __ Set(prototype, Immediate(Handle<Map>(function->initial_map()))); in GenerateDirectLoadGlobalFunctionPrototype()
3228 i < function->initial_map()->inobject_properties(); in CompileConstructStub()
/external/v8/src/x64/
Dlithium-codegen-x64.cc4057 Handle<Map> initial_map(constructor->initial_map()); in DoAllocateObject() local
4058 int instance_size = initial_map->instance_size(); in DoAllocateObject()
4059 ASSERT(initial_map->pre_allocated_property_fields() + in DoAllocateObject()
4060 initial_map->unused_property_fields() - in DoAllocateObject()
4061 initial_map->inobject_properties() == 0); in DoAllocateObject()
4085 Immediate(initial_map->pre_allocated_property_fields())); in DoAllocateObject()
4088 Immediate(initial_map->unused_property_fields())); in DoAllocateObject()
4091 Immediate(initial_map->inobject_properties())); in DoAllocateObject()
4096 ASSERT(initial_map->instance_type() == JS_OBJECT_TYPE); in DoAllocateObject()
4101 if (initial_map->inobject_properties() != 0) { in DoAllocateObject()
[all …]
Dstub-cache-x64.cc260 __ Move(prototype, Handle<Map>(function->initial_map())); in GenerateDirectLoadGlobalFunctionPrototype()
3041 i < function->initial_map()->inobject_properties(); in CompileConstructStub()
/external/v8/src/arm/
Dlithium-codegen-arm.cc4450 Handle<Map> initial_map(constructor->initial_map()); in DoAllocateObject() local
4451 int instance_size = initial_map->instance_size(); in DoAllocateObject()
4452 ASSERT(initial_map->pre_allocated_property_fields() + in DoAllocateObject()
4453 initial_map->unused_property_fields() - in DoAllocateObject()
4454 initial_map->inobject_properties() == 0); in DoAllocateObject()
4473 ASSERT(initial_map->instance_type() == JS_OBJECT_TYPE); in DoAllocateObject()
4478 if (initial_map->inobject_properties() != 0) { in DoAllocateObject()
4480 for (int i = 0; i < initial_map->inobject_properties(); i++) { in DoAllocateObject()
Dstub-cache-arm.cc315 __ Move(prototype, Handle<Map>(function->initial_map())); in GenerateDirectLoadGlobalFunctionPrototype()
3269 i < function->initial_map()->inobject_properties(); in CompileConstructStub()
/external/v8/src/mips/
Dlithium-codegen-mips.cc4344 Handle<Map> initial_map(constructor->initial_map()); in DoAllocateObject() local
4345 int instance_size = initial_map->instance_size(); in DoAllocateObject()
4346 ASSERT(initial_map->pre_allocated_property_fields() + in DoAllocateObject()
4347 initial_map->unused_property_fields() - in DoAllocateObject()
4348 initial_map->inobject_properties() == 0); in DoAllocateObject()
4367 ASSERT(initial_map->instance_type() == JS_OBJECT_TYPE); in DoAllocateObject()
4372 if (initial_map->inobject_properties() != 0) { in DoAllocateObject()
4374 for (int i = 0; i < initial_map->inobject_properties(); i++) { in DoAllocateObject()
Dstub-cache-mips.cc302 __ li(prototype, Handle<Map>(function->initial_map())); in GenerateDirectLoadGlobalFunctionPrototype()
3260 i < function->initial_map()->inobject_properties(); in CompileConstructStub()