Home
last modified time | relevance | path

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

/external/v8/src/
Dbootstrapper.cc804 js_global_object_function->initial_map()->set_is_hidden_prototype(); in CreateNewGlobals()
805 js_global_object_function->initial_map()->set_dictionary_map(true); in CreateNewGlobals()
833 global_proxy_function->initial_map()->set_is_access_check_needed(true); in CreateNewGlobals()
921 Handle<Map> initial_map(array_function->initial_map()); in InitializeGlobal() local
925 DCHECK(initial_map->elements_kind() == GetInitialFastElementsKind()); in InitializeGlobal()
926 Map::EnsureDescriptorSlack(initial_map, 1); in InitializeGlobal()
937 array_function->initial_map()->AppendDescriptor(&d); in InitializeGlobal()
947 CacheInitialJSArrayMaps(native_context(), initial_map); in InitializeGlobal()
979 Handle<Map>(native_context()->string_function()->initial_map()); in InitializeGlobal()
1021 Handle<Map> initial_map(regexp_fun->initial_map()); in InitializeGlobal() local
[all …]
Dfactory.cc1305 Handle<Map> initial_map = NewMap( in NewFunction() local
1311 JSFunction::SetInitialMap(function, initial_map, in NewFunction()
1340 new_map = handle(object_function->initial_map()); in NewFunctionPrototype()
1542 Handle<Map> map(constructor->initial_map()); in NewGlobalObject()
1617 Map* map = array_function->initial_map(); in NewJSArray()
1689 Handle<Map> map(function->initial_map()); in NewJSGeneratorObject()
1849 Handle<Map> map(constructor->initial_map(), isolate()); in ReinitializeJSGlobalProxy()
2205 Handle<Map> map(result->initial_map()); in CreateApiFunction()
2335 ? handle(context->object_function()->initial_map()) in ObjectLiteralMapFromCache()
Dhydrogen.cc6160 if (ctor != NULL) return handle(ctor->initial_map()); in map()
9214 constructor->initial_map()->instance_type() == JS_OBJECT_TYPE && in IsAllocationInlineable()
9215 constructor->initial_map()->instance_size() < HAllocate::kMaxInlineSize && in IsAllocationInlineable()
9216 constructor->initial_map()->InitialPropertiesLength() == 0; in IsAllocationInlineable()
9294 Handle<Map> initial_map(constructor->initial_map()); in VisitCallNew() local
9295 int instance_size = initial_map->instance_size(); in VisitCallNew()
9296 DCHECK(initial_map->InitialPropertiesLength() == 0); in VisitCallNew()
9315 receiver->set_known_initial_map(initial_map); in VisitCallNew()
9319 DCHECK(initial_map->instance_type() == JS_OBJECT_TYPE); in VisitCallNew()
9321 HObjectAccess::ForMapAndOffset(initial_map, JSObject::kMapOffset), in VisitCallNew()
[all …]
Dobjects.cc741 return map() != fun->initial_map() in IsDirty()
807 return context->number_function()->initial_map(); in GetRootMap()
820 return context->number_function()->initial_map(); in GetRootMap()
823 return context->string_function()->initial_map(); in GetRootMap()
826 return context->symbol_function()->initial_map(); in GetRootMap()
829 return context->boolean_function()->initial_map(); in GetRootMap()
6664 Handle<Map> copy = Copy(handle(isolate->object_function()->initial_map())); in Create()
9339 Handle<Context> native_context, Handle<Map> initial_map) { in CacheInitialJSArrayMaps() argument
9346 Handle<Map> current_map = initial_map; in CacheInitialJSArrayMaps()
9365 return initial_map; in CacheInitialJSArrayMaps()
[all …]
Dobjects-printer.cc777 if (has_initial_map()) os << Brief(initial_map()); in JSFunctionPrint()
Druntime.cc242 ? Handle<Map>(context->object_function()->initial_map()) in CreateObjectLiteralBoilerplate()
2599 JSFunction::cast(constructor)->initial_map() == map) { in RUNTIME_FUNCTION()
8409 if (function->initial_map()->instance_type() == JS_FUNCTION_TYPE) { in Runtime_NewObjectHelper()
15156 Handle<Map> initial_map(constructor->initial_map(), isolate); in ArrayConstructorCommon() local
15157 if (to_kind != initial_map->elements_kind()) { in ArrayConstructorCommon()
15158 initial_map = Map::AsElementsKind(initial_map, to_kind); in ArrayConstructorCommon()
15169 initial_map, NOT_TENURED, true, allocation_site)); in ArrayConstructorCommon()
15174 ElementsKind kind = constructor->initial_map()->elements_kind(); in ArrayConstructorCommon()
Daccessors.cc210 if (wrapper->map() == isolate->number_function()->initial_map()) { in FlattenNumber()
Dobjects-inl.h5834 initial_map()->construction_count() != JSFunction::kNoSlackTracking; in IsInobjectSlackTrackingInProgress()
5905 Map* JSFunction::initial_map() { in ACCESSORS()
5927 if (has_initial_map()) return initial_map()->prototype(); in instance_prototype()
Dobjects.h7300 inline Map* initial_map();
10079 Handle<Map> initial_map);
/external/v8/src/ic/
Dic-inl.h204 return handle(builtin_ctor->initial_map()); in GetICCacheHolder()
/external/v8/test/cctest/
Dtest-alloc.cc147 Handle<Map> map(function->initial_map()); in TEST()
Dtest-heap.cc735 Handle<Map> initial_map(function->initial_map()); in TEST() local
744 CHECK(*initial_map != obj->map()); in TEST()
/external/v8/src/ic/x64/
Dhandler-compiler-x64.cc74 __ Move(prototype, Handle<Map>(function->initial_map())); in GenerateDirectLoadGlobalFunctionPrototype()
/external/v8/src/ic/arm64/
Dhandler-compiler-arm64.cc75 __ Mov(prototype, Operand(Handle<Map>(function->initial_map()))); in GenerateDirectLoadGlobalFunctionPrototype()
/external/v8/src/ic/ia32/
Dhandler-compiler-ia32.cc104 __ Move(prototype, Immediate(Handle<Map>(function->initial_map()))); in GenerateDirectLoadGlobalFunctionPrototype()
/external/v8/src/ic/arm/
Dhandler-compiler-arm.cc160 __ Move(prototype, Handle<Map>(function->initial_map())); in GenerateDirectLoadGlobalFunctionPrototype()
/external/v8/src/ic/x87/
Dhandler-compiler-x87.cc104 __ Move(prototype, Immediate(Handle<Map>(function->initial_map()))); in GenerateDirectLoadGlobalFunctionPrototype()
/external/v8/src/ic/mips64/
Dhandler-compiler-mips64.cc157 __ li(prototype, Handle<Map>(function->initial_map())); in GenerateDirectLoadGlobalFunctionPrototype()
/external/v8/src/ic/mips/
Dhandler-compiler-mips.cc157 __ li(prototype, Handle<Map>(function->initial_map())); in GenerateDirectLoadGlobalFunctionPrototype()
/external/v8/src/heap/
Dheap.cc3673 constructor->initial_map(), pretenure, true, allocation_site); in AllocateJSObject()