Home
last modified time | relevance | path

Searched refs:initial_map (Results 1 – 25 of 31) 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<Map>(); in IsValid()
75 Handle<Map> initial_map(function->initial_map(), function_.isolate()); in Install() local
76 DependentCode::InstallDependency(function_.isolate(), code, initial_map, in Install()
293 MapRef map = function.initial_map(); in DependOnInitialMap()
418 map = handle(constructor->initial_map(), isolate); in DependOnStablePrototypeChains()
435 SlackTrackingPrediction::SlackTrackingPrediction(MapRef initial_map, in SlackTrackingPrediction() argument
440 initial_map.GetInObjectPropertiesStartInWords()) {} in SlackTrackingPrediction()
[all …]
Djs-create-lowering.cc48 !new_target.initial_map().is_dictionary_map()); in IsAllocationInlineable()
50 new_target.initial_map().constructor_or_backpointer().equals(target); in IsAllocationInlineable()
145 MapRef initial_map = original_constructor.initial_map(); in ReduceJSCreate() local
151 a.Store(AccessBuilder::ForMap(), initial_map); in ReduceJSCreate()
158 a.Store(AccessBuilder::ForJSObjectInObjectProperty(initial_map, i), in ReduceJSCreate()
421 MapRef initial_map = js_function.initial_map(); in ReduceJSCreateGeneratorObject() local
422 DCHECK(initial_map.instance_type() == JS_GENERATOR_OBJECT_TYPE || in ReduceJSCreateGeneratorObject()
423 initial_map.instance_type() == JS_ASYNC_GENERATOR_OBJECT_TYPE); in ReduceJSCreateGeneratorObject()
444 a.Store(AccessBuilder::ForMap(), initial_map); in ReduceJSCreateGeneratorObject()
458 if (initial_map.instance_type() == JS_ASYNC_GENERATOR_OBJECT_TYPE) { in ReduceJSCreateGeneratorObject()
[all …]
Djs-create-lowering.h72 Node* node, Node* length, MapRef initial_map, PretenureFlag pretenure, in NON_EXPORTED_BASE()
75 Node* node, Node* length, int capacity, MapRef initial_map, in NON_EXPORTED_BASE()
79 Node* node, std::vector<Node*> values, MapRef initial_map, in NON_EXPORTED_BASE()
Djs-heap-broker.cc85 MapData* const initial_map; // Can be nullptr. member in v8::internal::compiler::JSFunctionData
331 initial_map(object_->has_prototype_slot() && object_->has_initial_map() in JSFunctionData()
332 ? GET_OR_CREATE(initial_map)->AsMap() in JSFunctionData()
338 if (initial_map != nullptr && initial_map->instance_type == JS_ARRAY_TYPE) { in JSFunctionData()
339 initial_map->SerializeElementsKindGeneralizations(); in JSFunctionData()
1012 BIMODAL_ACCESSOR(JSFunction, Map, initial_map) in BIMODAL_ACCESSOR()
1067 return data()->AsJSFunction()->initial_map != nullptr; in BIMODAL_ACCESSOR()
Dnode-properties.cc420 Handle<Map> initial_map(original_constructor->initial_map(), in InferReceiverMaps() local
422 if (initial_map->constructor_or_backpointer() == in InferReceiverMaps()
424 *maps_return = ZoneHandleSet<Map>(initial_map); in InferReceiverMaps()
Dcompilation-dependencies.h18 SlackTrackingPrediction(MapRef initial_map, int instance_size);
Djs-native-context-specialization.cc418 MapRef initial_map = dependencies()->DependOnInitialMap( in ReduceJSOrdinaryHasInstance() local
421 handle(initial_map.object<Map>()->prototype(), isolate())); in ReduceJSOrdinaryHasInstance()
2933 Handle<Map> initial_map(constructor->initial_map(), isolate()); in InferReceiverRootMap() local
2934 if (initial_map->constructor_or_backpointer() == *mnewtarget.Value()) { in InferReceiverRootMap()
2935 DCHECK_EQ(*initial_map, initial_map->FindRootMap(isolate())); in InferReceiverRootMap()
2936 return initial_map; in InferReceiverRootMap()
Djs-heap-broker.h181 MapRef initial_map() const;
Daccess-info.cc514 map = handle(constructor->initial_map(), isolate()); in ComputePropertyAccessInfo()
/external/v8/src/
Dbootstrapper.cc773 Map* initial_map = object_fun->initial_map(); in CreateObjectFunction() local
774 initial_map->set_elements_kind(HOLEY_ELEMENTS); in CreateObjectFunction()
801 Handle<Map> map(object_fun->initial_map(), isolate_); in CreateObjectFunction()
1269 js_global_object_function->initial_map()->set_is_prototype_map(true); in CreateNewGlobals()
1270 js_global_object_function->initial_map()->set_is_dictionary_map(true); in CreateNewGlobals()
1271 js_global_object_function->initial_map()->set_may_have_interesting_symbols( in CreateNewGlobals()
1294 global_proxy_function->initial_map()->set_is_access_check_needed(true); in CreateNewGlobals()
1295 global_proxy_function->initial_map()->set_has_hidden_prototype(true); in CreateNewGlobals()
1296 global_proxy_function->initial_map()->set_may_have_interesting_symbols(true); in CreateNewGlobals()
1404 Handle<Map> initial_map(error_fun->initial_map(), isolate); in InstallError() local
[all …]
Dobjects.cc1327 constructor->initial_map()->instance_type() != JS_FUNCTION_TYPE); in New()
1329 Handle<Map> initial_map; in New() local
1331 isolate, initial_map, in New()
1334 isolate->factory()->NewJSObjectFromMap(initial_map, NOT_TENURED, site); in New()
1335 if (initial_map->is_dictionary_map()) { in New()
2296 return native_context->number_function()->initial_map(); in GetPrototypeChainRootMap()
2313 return constructor_function->initial_map(); in GetPrototypeChainRootMap()
3344 return constructor->initial_map() == heap_object->map(); in IsUnmodifiedApiObject()
4875 DCHECK(constructor->initial_map()->is_dictionary_map()); in TryUpdate()
4876 if (constructor->initial_map()->elements_kind() != in TryUpdate()
[all …]
/external/v8/src/builtins/
Dbuiltins-function.cc132 Handle<Map> initial_map; in CreateDynamicFunction() local
134 isolate, initial_map, in CreateDynamicFunction()
138 Handle<Map> map = Map::AsLanguageMode(isolate, initial_map, shared_info); in CreateDynamicFunction()
Dbuiltins-constructor-gen.cc195 Node* initial_map = in EmitFastNewObject() local
197 GotoIf(TaggedIsSmi(initial_map), call_runtime); in EmitFastNewObject()
198 GotoIf(DoesntHaveInstanceType(initial_map, MAP_TYPE), call_runtime); in EmitFastNewObject()
203 LoadObjectField(initial_map, Map::kConstructorOrBackPointerOffset); in EmitFastNewObject()
209 GotoIf(IsDictionaryMap(initial_map), &allocate_properties); in EmitFastNewObject()
221 return AllocateJSObjectFromMap(initial_map, properties.value(), nullptr, in EmitFastNewObject()
Dbuiltins-regexp-gen.cc100 TNode<Map> initial_map = CAST(LoadObjectField( in RegExpCreate() local
102 return RegExpCreate(context, initial_map, maybe_string, flags); in RegExpCreate()
106 TNode<Map> initial_map, in RegExpCreate() argument
112 TNode<Object> regexp = CAST(AllocateJSObjectFromMap(initial_map)); in RegExpCreate()
838 Node* const initial_map = in IsFastRegExpNoPrototype() local
840 Node* const has_initialmap = WordEqual(map, initial_map); in IsFastRegExpNoPrototype()
925 Node* const initial_map = in BranchIfFastRegExp() local
927 Node* const has_initialmap = WordEqual(map, initial_map); in BranchIfFastRegExp()
1379 Node* const initial_map = LoadObjectField( in TF_BUILTIN() local
1381 Node* const regexp = AllocateJSObjectFromMap(initial_map); in TF_BUILTIN()
[all …]
Dbuiltins-conversion-gen.cc382 Node* initial_map = in TF_BUILTIN() local
385 StoreMapNoWriteBarrier(js_value, initial_map); in TF_BUILTIN()
Dbuiltins-regexp-gen.h27 TNode<Object> RegExpCreate(TNode<Context> context, TNode<Map> initial_map,
Dbuiltins-string-gen.cc1119 Node* const initial_map = in MaybeCallFunctionAtSymbol() local
1121 Node* const proto_map = LoadMap(LoadMapPrototype(initial_map)); in MaybeCallFunctionAtSymbol()
1536 TNode<Map> initial_map = CAST(LoadObjectField( in Generate() local
1539 context, initial_map, maybe_regexp, EmptyStringConstant()); in Generate()
1542 regexp_asm.BranchIfFastRegExp(context, regexp, initial_map, &fast_path, in Generate()
2589 Node* const initial_map = LoadObjectField( in EscapeQuotes() local
2594 AllocateJSObjectFromMap(initial_map), StringConstant("\""), in EscapeQuotes()
/external/v8/src/runtime/
Druntime-array.cc596 Handle<Map> initial_map; in RUNTIME_FUNCTION() local
598 isolate, initial_map, in RUNTIME_FUNCTION()
602 : initial_map->elements_kind(); in RUNTIME_FUNCTION()
612 initial_map = Map::AsElementsKind(isolate, initial_map, to_kind); in RUNTIME_FUNCTION()
622 factory->NewJSObjectFromMap(initial_map, NOT_TENURED, allocation_site)); in RUNTIME_FUNCTION()
Druntime-object.cc766 CONVERT_ARG_HANDLE_CHECKED(Map, initial_map, 0); in RUNTIME_FUNCTION()
767 initial_map->CompleteInobjectSlackTracking(isolate); in RUNTIME_FUNCTION()
/external/v8/src/heap/
Dfactory.cc2365 Handle<Map> initial_map = NewMap(args.type_, args.instance_size_, in NewFunction() local
2377 JSFunction::SetInitialMap(result, initial_map, prototype); in NewFunction()
2403 new_map = handle(object_function->initial_map(), isolate()); in NewFunctionPrototype()
2420 Handle<Map> initial_map( in NewFunctionFromSharedFunctionInfo() local
2423 return NewFunctionFromSharedFunctionInfo(initial_map, info, context, in NewFunctionFromSharedFunctionInfo()
2430 Handle<Map> initial_map( in NewFunctionFromSharedFunctionInfo() local
2433 return NewFunctionFromSharedFunctionInfo(initial_map, info, context, in NewFunctionFromSharedFunctionInfo()
2438 Handle<Map> initial_map, Handle<SharedFunctionInfo> info, in NewFunctionFromSharedFunctionInfo() argument
2440 DCHECK_EQ(JS_FUNCTION_TYPE, initial_map->instance_type()); in NewFunctionFromSharedFunctionInfo()
2442 NewFunction(initial_map, info, context, pretenure); in NewFunctionFromSharedFunctionInfo()
[all …]
Dfactory.h705 Handle<Map> initial_map, Handle<SharedFunctionInfo> function_info,
714 Handle<Map> initial_map, Handle<SharedFunctionInfo> function_info,
/external/v8/src/objects/
Djs-array.h105 Handle<Map> initial_map);
Dmap.h683 static Handle<Map> AsLanguageMode(Isolate* isolate, Handle<Map> initial_map,
/external/v8/src/regexp/
Dregexp-utils.cc40 return recv->map() == isolate->regexp_function()->initial_map(); in HasInitialRegExpMap()
/external/v8/src/ic/
Dic.cc2482 Handle<Map> initial_map(constructor->initial_map(), isolate); in FastCloneObjectMap() local
2483 Handle<Map> map = initial_map; in FastCloneObjectMap()
2486 initial_map->GetInObjectProperties()) { in FastCloneObjectMap()
2497 if (map.is_identical_to(initial_map)) { in FastCloneObjectMap()
2507 if (map.is_identical_to(initial_map)) { in FastCloneObjectMap()

12