Home
last modified time | relevance | path

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

12

/external/v8/src/compiler/
Dcompilation-dependencies.cc27 InitialMapDependency(const JSFunctionRef& function, const MapRef& initial_map) in InitialMapDependency() argument
28 : function_(function), initial_map_(initial_map) { in InitialMapDependency()
30 DCHECK(function_.initial_map().equals(initial_map_)); in InitialMapDependency()
36 function->initial_map() == *initial_map_.object(); in IsValid()
80 Handle<Map> initial_map(function->initial_map(), function_.isolate()); in Install() local
81 DependentCode::InstallDependency(function_.isolate(), code, initial_map, in Install()
372 !function_.object()->initial_map().IsInobjectSlackTrackingInProgress()); in Install()
387 MapRef map = function.initial_map(); in DependOnInitialMap()
596 if (constructor.has_value()) receiver_map = constructor->initial_map(); in DependOnStablePrototypeChains()
619 SlackTrackingPrediction::SlackTrackingPrediction(MapRef initial_map, in SlackTrackingPrediction() argument
[all …]
Djs-create-lowering.cc119 base::Optional<MapRef> initial_map = in ReduceJSCreate() local
121 if (!initial_map.has_value()) return NoChange(); in ReduceJSCreate()
133 a.Store(AccessBuilder::ForMap(), *initial_map); in ReduceJSCreate()
140 a.Store(AccessBuilder::ForJSObjectInObjectProperty(*initial_map, i), in ReduceJSCreate()
420 MapRef initial_map = js_function.initial_map(); in ReduceJSCreateGeneratorObject() local
421 DCHECK(initial_map.instance_type() == JS_GENERATOR_OBJECT_TYPE || in ReduceJSCreateGeneratorObject()
422 initial_map.instance_type() == JS_ASYNC_GENERATOR_OBJECT_TYPE); in ReduceJSCreateGeneratorObject()
442 a.Store(AccessBuilder::ForMap(), initial_map); in ReduceJSCreateGeneratorObject()
458 if (initial_map.instance_type() == JS_ASYNC_GENERATOR_OBJECT_TYPE) { in ReduceJSCreateGeneratorObject()
467 a.Store(AccessBuilder::ForJSObjectInObjectProperty(initial_map, i), in ReduceJSCreateGeneratorObject()
[all …]
Dnode-properties.cc340 MapRef initial_map = newtarget.initial_map(); in GetJSCreateMap() local
341 if (initial_map.GetConstructor().equals(target)) { in GetJSCreateMap()
344 return initial_map; in GetJSCreateMap()
396 base::Optional<MapRef> initial_map = GetJSCreateMap(broker, receiver); in InferMapsUnsafe() local
397 if (initial_map.has_value()) { in InferMapsUnsafe()
398 *maps_return = ZoneHandleSet<Map>(initial_map->object()); in InferMapsUnsafe()
411 .initial_map() in InferMapsUnsafe()
Djs-create-lowering.h72 Node* node, Node* length, MapRef initial_map, ElementsKind elements_kind, in NON_EXPORTED_BASE()
76 Node* node, Node* length, int capacity, MapRef initial_map, in NON_EXPORTED_BASE()
80 Node* node, std::vector<Node*> values, MapRef initial_map, in NON_EXPORTED_BASE()
Dcompilation-dependencies.h18 SlackTrackingPrediction(MapRef initial_map, int instance_size);
Djs-native-context-specialization.cc3473 base::Optional<MapRef> initial_map = in InferRootMap() local
3475 if (initial_map.has_value()) { in InferRootMap()
3476 if (!initial_map->FindRootMap().has_value()) { in InferRootMap()
3479 DCHECK(initial_map->equals(*initial_map->FindRootMap())); in InferRootMap()
3480 return *initial_map; in InferRootMap()
Dheap-refs.h348 MapRef initial_map() const;
/external/v8/src/objects/
Djs-function.cc352 Handle<Map> initial_map(function->initial_map(), isolate); in SetInstancePrototype() local
355 initial_map->instance_type() == JS_OBJECT_TYPE) { in SetInstancePrototype()
362 Map::Copy(isolate, initial_map, "SetInstancePrototype"); in SetInstancePrototype()
378 initial_map->dependent_code().DeoptimizeDependentCodeGroup( in SetInstancePrototype()
608 new_target->initial_map().GetConstructor() == *constructor) { in FastInitializeDerivedMap()
663 Handle<Map> constructor_initial_map(constructor->initial_map(), isolate); in GetDerivedMap()
674 return handle(function->initial_map(), isolate); in GetDerivedMap()
700 constructor_initial_map = handle(constructor->initial_map(), isolate); in GetDerivedMap()
732 if (initial_map().IsInobjectSlackTrackingInProgress()) { in ComputeInstanceSizeWithMinSlack()
733 int slack = initial_map().ComputeMinObjectSlack(isolate); in ComputeInstanceSizeWithMinSlack()
[all …]
Djs-function-inl.h109 if (has_initial_map() && initial_map().IsInobjectSlackTrackingInProgress()) { in CompleteInobjectSlackTrackingIfActive()
110 initial_map().CompleteInobjectSlackTracking(GetIsolate()); in CompleteInobjectSlackTrackingIfActive()
198 DEF_GETTER(JSFunction, initial_map, Map) { in DEF_GETTER() argument
234 if (has_initial_map(isolate)) return initial_map(isolate).prototype(isolate); in DEF_GETTER()
Dmap.cc44 return constructor_function.initial_map(); in GetPrototypeChainRootMap()
970 DCHECK(constructor.initial_map().is_dictionary_map()); in TryUpdateSlow()
971 if (constructor.initial_map().elements_kind() != old_map.elements_kind()) { in TryUpdateSlow()
974 return constructor.initial_map(); in TryUpdateSlow()
1153 Handle<Map> map(isolate->native_context()->object_function().initial_map(), in GetObjectCreateMap()
1183 Handle<Map> map(isolate->native_context()->object_function().initial_map(), in TryGetObjectCreateMap()
1591 *map == JSFunction::cast(maybe_constructor).initial_map()) || in EnsureInitialMap()
1912 Handle<Map> Map::AsLanguageMode(Isolate* isolate, Handle<Map> initial_map, in AsLanguageMode() argument
1914 DCHECK_EQ(JS_FUNCTION_TYPE, initial_map->instance_type()); in AsLanguageMode()
1918 if (is_sloppy(shared_info->language_mode())) return initial_map; in AsLanguageMode()
[all …]
Djs-array.h138 Handle<Map> initial_map);
Djs-function.h203 DECL_GETTER(initial_map, Map)
Djs-regexp.cc474 JSFunction::cast(constructor).initial_map() == map) { in Initialize()
Dmap.h735 static Handle<Map> AsLanguageMode(Isolate* isolate, Handle<Map> initial_map,
/external/v8/src/runtime/
Druntime-array.cc92 Handle<Map> initial_map; in RUNTIME_FUNCTION() local
94 isolate, initial_map, in RUNTIME_FUNCTION()
98 : initial_map->elements_kind(); in RUNTIME_FUNCTION()
108 initial_map = Map::AsElementsKind(isolate, initial_map, to_kind); in RUNTIME_FUNCTION()
118 initial_map, AllocationType::kYoung, allocation_site)); in RUNTIME_FUNCTION()
Druntime-object.cc853 CONVERT_ARG_HANDLE_CHECKED(Map, initial_map, 0); in RUNTIME_FUNCTION()
854 initial_map->CompleteInobjectSlackTracking(isolate); in RUNTIME_FUNCTION()
/external/v8/src/init/
Dbootstrapper.cc744 Map initial_map = object_fun->initial_map(); in CreateObjectFunction() local
745 initial_map.set_elements_kind(HOLEY_ELEMENTS); in CreateObjectFunction()
772 Handle<Map> map(object_fun->initial_map(), isolate_); in CreateObjectFunction()
1245 js_global_object_function->initial_map().set_is_prototype_map(true); in CreateNewGlobals()
1246 js_global_object_function->initial_map().set_is_dictionary_map(true); in CreateNewGlobals()
1247 js_global_object_function->initial_map().set_may_have_interesting_symbols( in CreateNewGlobals()
1270 global_proxy_function->initial_map().set_is_access_check_needed(true); in CreateNewGlobals()
1271 global_proxy_function->initial_map().set_may_have_interesting_symbols(true); in CreateNewGlobals()
1381 Handle<Map> initial_map(error_fun->initial_map(), isolate); in InstallError() local
1382 Map::EnsureDescriptorSlack(isolate, initial_map, 1); in InstallError()
[all …]
/external/v8/src/builtins/
Dbuiltins-function.cc121 Handle<Map> initial_map; in CreateDynamicFunction() local
123 isolate, initial_map, in CreateDynamicFunction()
127 Handle<Map> map = Map::AsLanguageMode(isolate, initial_map, shared_info); in CreateDynamicFunction()
Dbuiltins-constructor-gen.cc266 TNode<Map> initial_map = CAST(initial_map_or_proto); in FastNewObject() local
271 initial_map, Map::kConstructorOrBackPointerOrNativeContextOffset); in FastNewObject()
277 GotoIf(IsDictionaryMap(initial_map), &allocate_properties); in FastNewObject()
289 return AllocateJSObjectFromMap(initial_map, properties.value(), base::nullopt, in FastNewObject()
Dbuiltins-regexp-gen.cc721 const TNode<Object> initial_map = in IsFastRegExpNoPrototype() local
723 const TNode<BoolT> has_initialmap = TaggedEqual(map, initial_map); in IsFastRegExpNoPrototype()
760 TNode<Map> initial_map = CAST( in BranchIfFastRegExp() local
762 TNode<BoolT> has_initialmap = TaggedEqual(map, initial_map); in BranchIfFastRegExp()
1147 const TNode<Map> initial_map = CAST(LoadObjectField( in TF_BUILTIN() local
1149 var_regexp = CAST(AllocateJSObjectFromMap(initial_map)); in TF_BUILTIN()
Dbuiltins-string-gen.cc1479 TNode<Map> initial_map = CAST(LoadObjectField( in Generate() local
1482 context, initial_map, maybe_regexp, EmptyStringConstant()); in Generate()
1488 context, CAST(regexp), initial_map, in Generate()
/external/v8/src/heap/
Dfactory.cc1838 new_map = handle(object_function->initial_map(), isolate()); in DEFINE_ERROR()
1995 Handle<Map> map(constructor->initial_map(), isolate()); in NewJSObject()
2011 Handle<Map> map(constructor->initial_map(), isolate()); in NewJSGlobalObject()
2204 map = array_function.initial_map(); in NewJSArrayWithUnverifiedElements()
2257 Handle<Map> map(native_context.js_weak_map_fun().initial_map(), isolate()); in NewJSWeakMap()
2283 Handle<Map> map(function->initial_map(), isolate()); in NewJSGeneratorObject()
2360 Handle<Map> map(isolate()->native_context()->array_buffer_fun().initial_map(), in NewJSArrayBuffer()
2378 Handle<Map> map(isolate()->native_context()->array_buffer_fun().initial_map(), in NewJSArrayBufferAndBackingStore()
2389 isolate()->native_context()->shared_array_buffer_fun().initial_map(), in NewJSSharedArrayBuffer()
2506 handle(isolate()->native_context()->type##_array_fun().initial_map(), \ in NewJSTypedArray()
[all …]
/external/v8/src/regexp/
Dregexp-utils.cc41 return recv.map() == isolate->regexp_function()->initial_map(); in HasInitialRegExpMap()
/external/v8/src/json/
Djson-parser.cc409 Handle<Map> initial_map = factory()->ObjectLiteralMapFromCache( in BuildJsonObject() local
412 Handle<Map> map = initial_map; in BuildJsonObject()
551 Handle<JSObject> object = initial_map->is_dictionary_map() in BuildJsonObject()
/external/v8/src/ic/
Dic.cc2736 Handle<Map> initial_map(constructor->initial_map(), isolate); in FastCloneObjectMap() local
2737 Handle<Map> map = initial_map; in FastCloneObjectMap()
2740 initial_map->GetInObjectProperties()) { in FastCloneObjectMap()
2751 if (map.is_identical_to(initial_map)) { in FastCloneObjectMap()
2762 if (map.is_identical_to(initial_map)) { in FastCloneObjectMap()

12