/external/v8/src/compiler/ |
D | compilation-dependencies.cc | 27 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 …]
|
D | js-create-lowering.cc | 48 !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 …]
|
D | js-create-lowering.h | 72 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()
|
D | js-heap-broker.cc | 85 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()
|
D | node-properties.cc | 420 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()
|
D | compilation-dependencies.h | 18 SlackTrackingPrediction(MapRef initial_map, int instance_size);
|
D | js-native-context-specialization.cc | 418 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()
|
D | js-heap-broker.h | 181 MapRef initial_map() const;
|
D | access-info.cc | 514 map = handle(constructor->initial_map(), isolate()); in ComputePropertyAccessInfo()
|
/external/v8/src/ |
D | bootstrapper.cc | 773 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 …]
|
D | objects.cc | 1327 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/ |
D | builtins-function.cc | 132 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()
|
D | builtins-constructor-gen.cc | 195 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()
|
D | builtins-regexp-gen.cc | 100 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 …]
|
D | builtins-conversion-gen.cc | 382 Node* initial_map = in TF_BUILTIN() local 385 StoreMapNoWriteBarrier(js_value, initial_map); in TF_BUILTIN()
|
D | builtins-regexp-gen.h | 27 TNode<Object> RegExpCreate(TNode<Context> context, TNode<Map> initial_map,
|
D | builtins-string-gen.cc | 1119 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/ |
D | runtime-array.cc | 596 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()
|
D | runtime-object.cc | 766 CONVERT_ARG_HANDLE_CHECKED(Map, initial_map, 0); in RUNTIME_FUNCTION() 767 initial_map->CompleteInobjectSlackTracking(isolate); in RUNTIME_FUNCTION()
|
/external/v8/src/heap/ |
D | factory.cc | 2365 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 …]
|
D | factory.h | 705 Handle<Map> initial_map, Handle<SharedFunctionInfo> function_info, 714 Handle<Map> initial_map, Handle<SharedFunctionInfo> function_info,
|
/external/v8/src/objects/ |
D | js-array.h | 105 Handle<Map> initial_map);
|
D | map.h | 683 static Handle<Map> AsLanguageMode(Isolate* isolate, Handle<Map> initial_map,
|
/external/v8/src/regexp/ |
D | regexp-utils.cc | 40 return recv->map() == isolate->regexp_function()->initial_map(); in HasInitialRegExpMap()
|
/external/v8/src/ic/ |
D | ic.cc | 2482 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()
|