/third_party/node/deps/v8/src/objects/ |
H A D | allocation-site-inl.h | 41 JSObject AllocationSite::boilerplate() const { in boilerplate() function in v8::internal::AllocationSite 46 JSObject AllocationSite::boilerplate(AcquireLoadTag tag) const { in boilerplate() function in v8::internal::AllocationSite 122 // Heuristic: We only need to create allocation site info if the boilerplate 217 if (site->PointsToLiteral() && site->boilerplate().IsJSArray()) { in DigestTransitionFeedback() 218 Handle<JSArray> boilerplate(JSArray::cast(site->boilerplate()), isolate); in DigestTransitionFeedback() 219 ElementsKind kind = boilerplate->GetElementsKind(); in DigestTransitionFeedback() 228 CHECK(boilerplate->length().ToArrayLength(&length)); in DigestTransitionFeedback() 235 PrintF("AllocationSite: JSArray %p boilerplate %supdated %s->%s\n", in DigestTransitionFeedback() 241 JSObject::TransitionElementsKind(boilerplate, to_kin in DigestTransitionFeedback() [all...] |
H A D | allocation-site.h | 40 // Contains either a Smi-encoded bitfield or a boilerplate. If it's a Smi the 44 DECL_GETTER(boilerplate, JSObject) 45 DECL_RELEASE_ACQUIRE_ACCESSORS(boilerplate, JSObject)
|
H A D | allocation-site-scopes-inl.h | 38 DCHECK(object.is_null() || *object == scope_site->boilerplate()); in ExitScope()
|
H A D | objects.cc | 5266 Object current = boilerplate().GetHeap()->allocation_sites_list(); in IsNested()
|
/third_party/node/deps/v8/src/runtime/ |
H A D | runtime-literals.cc | 395 Handle<JSObject> boilerplate = in CreateObjectLiteral() local 399 // Normalize the elements of the boilerplate to save space if needed. in CreateObjectLiteral() 400 if (!use_fast_elements) JSObject::NormalizeElements(boilerplate); in CreateObjectLiteral() 402 // Add the constant properties to the boilerplate. in CreateObjectLiteral() 404 // TODO(verwaest): Support tracking representations in the boilerplate. in CreateObjectLiteral() 432 JSObject::SetOwnElementIgnoreAttributes(boilerplate, element_index, value, in CreateObjectLiteral() 438 JSObject::SetOwnPropertyIgnoreAttributes(boilerplate, name, value, NONE) in CreateObjectLiteral() 444 // TODO(cbruni): avoid making the boilerplate fast again, the clone stub in CreateObjectLiteral() 447 boilerplate, boilerplate in CreateObjectLiteral() 542 Handle<JSObject> boilerplate; CreateLiteral() local 683 Handle<RegExpBoilerplateDescription> boilerplate = RUNTIME_FUNCTION() local [all...] |
/third_party/cJSON/tests/unity/auto/ |
H A D | generate_module.rb | 132 triad = [{ ext: '.c', path: @options[:path_src], prefix: '', template: TEMPLATE_SRC, inc: :src, boilerplate: @options[:boilerplates][:src] }, 133 { ext: '.h', path: @options[:path_inc], prefix: '', template: TEMPLATE_INC, inc: :inc, boilerplate: @options[:boilerplates][:inc] }, 134 { ext: '.c', path: @options[:path_tst], prefix: prefix, template: TEMPLATE_TST, inc: :tst, boilerplate: @options[:boilerplates][:tst] }] 154 boilerplate: cfg[:boilerplate], 209 f.write("#{file[:boilerplate]}\n" % [file[:name]]) unless file[:boilerplate].nil?
|
/third_party/node/deps/v8/src/builtins/ |
H A D | builtins-constructor-gen.cc | 414 TNode<RegExpBoilerplateDescription> boilerplate = CAST(literal_site); in CreateRegExpLiteral() local 432 LoadObjectField(boilerplate, in CreateRegExpLiteral() 436 LoadObjectField(boilerplate, in CreateRegExpLiteral() 440 LoadObjectField(boilerplate, in CreateRegExpLiteral() 473 TNode<JSArray> boilerplate = CAST(LoadBoilerplate(allocation_site)); in CreateShallowArrayLiteral() local 477 return CloneFastJSArray(context, boilerplate, allocation_site); in CreateShallowArrayLiteral() 479 return CloneFastJSArray(context, boilerplate); in CreateShallowArrayLiteral() 538 TNode<JSObject> boilerplate = LoadBoilerplate(allocation_site); in CreateShallowObjectLiteral() local 539 TNode<Map> boilerplate_map = LoadMap(boilerplate); in CreateShallowObjectLiteral() 555 CopySwissNameDictionary(CAST(LoadSlowProperties(boilerplate))); in CreateShallowObjectLiteral() [all...] |
/third_party/unity/auto/ |
H A D | generate_module.rb | 136 triad = [{ ext: '.c', path: @options[:path_src], prefix: '', template: TEMPLATE_SRC, inc: :src, boilerplate: @options[:boilerplates][:src] }, 137 { ext: '.h', path: @options[:path_inc], prefix: '', template: TEMPLATE_INC, inc: :inc, boilerplate: @options[:boilerplates][:inc] }, 138 { ext: '.c', path: @options[:path_tst], prefix: prefix, template: TEMPLATE_TST, inc: :tst, boilerplate: @options[:boilerplates][:tst], test_define: @options[:test_define] }] 159 boilerplate: cfg[:boilerplate], 214 f.write("#{file[:boilerplate]}\n" % [file[:name]]) unless file[:boilerplate].nil?
|
/third_party/node/deps/v8/src/compiler/ |
H A D | js-create-lowering.h | 101 JSObjectRef boilerplate, 106 Node* effect, Node* control, JSObjectRef boilerplate, 119 RegExpBoilerplateDescriptionRef boilerplate);
|
H A D | js-create-lowering.cc | 1107 if (!site.boilerplate().has_value()) return NoChange(); in ReduceJSCreateLiteralArrayOrObject() 1111 TryAllocateFastLiteral(effect, control, *site.boilerplate(), allocation, in ReduceJSCreateLiteralArrayOrObject() 1667 Node* effect, Node* control, JSObjectRef boilerplate, in TryAllocateFastLiteral() 1674 // Prevent concurrent migrations of boilerplate objects. in TryAllocateFastLiteral() 1679 MapRef boilerplate_map = boilerplate.map(); in TryAllocateFastLiteral() 1680 // Protect against concurrent changes to the boilerplate object by checking in TryAllocateFastLiteral() 1682 dependencies()->DependOnObjectSlotValue(boilerplate, HeapObject::kMapOffset, in TryAllocateFastLiteral() 1686 boilerplate.map_direct_read(); in TryAllocateFastLiteral() 1693 // Bail out if the boilerplate map has been deprecated. The map could of in TryAllocateFastLiteral() 1700 if (boilerplate in TryAllocateFastLiteral() 1666 TryAllocateFastLiteral( Node* effect, Node* control, JSObjectRef boilerplate, AllocationType allocation, int max_depth, int* max_properties) TryAllocateFastLiteral() argument 1838 TryAllocateFastLiteralElements( Node* effect, Node* control, JSObjectRef boilerplate, AllocationType allocation, int max_depth, int* max_properties) TryAllocateFastLiteralElements() argument 1912 AllocateLiteralRegExp( Node* effect, Node* control, RegExpBoilerplateDescriptionRef boilerplate) AllocateLiteralRegExp() argument [all...] |
H A D | js-heap-broker.cc | 650 RegExpBoilerplateDescriptionRef boilerplate = MakeRefAssumeMemoryFence( in ReadFeedbackForRegExpLiteral() local 652 return *zone()->New<RegExpLiteralFeedback>(boilerplate, nexus.kind()); in ReadFeedbackForRegExpLiteral()
|
H A D | heap-refs.h | 651 base::Optional<JSObjectRef> boilerplate() const; 789 // acquire-release semantics (such as boilerplate elements). 836 // The `length` property of boilerplate JSArray objects. Boilerplates are 837 // immutable after initialization. Must not be used for non-boilerplate
|
H A D | compilation-dependencies.cc | 914 ? site->boilerplate(kAcquireLoad).map().elements_kind() 1143 ? site.boilerplate().value().map().elements_kind() in DependOnElementsKind()
|
H A D | heap-refs.cc | 1990 base::Optional<JSObjectRef> AllocationSiteRef::boilerplate() const { in boilerplate() function in v8::internal::compiler::AllocationSiteRef 1993 return TryMakeRef(broker(), object()->boilerplate(kAcquireLoad)); in boilerplate()
|
H A D | js-call-reducer.cc | 4238 // site's boilerplate JSArray. 4247 if (!site.boilerplate().has_value()) return NoChange(); 4249 JSArrayRef boilerplate_array = site.boilerplate()->AsJSArray();
|
/third_party/node/deps/v8/src/heap/ |
H A D | object-stats.cc | 527 JSObject boilerplate = site.boilerplate(); in RecordVirtualAllocationSiteDetails() 528 if (boilerplate.IsJSArray()) { in RecordVirtualAllocationSiteDetails() 529 RecordSimpleVirtualObjectStats(site, boilerplate, in RecordVirtualAllocationSiteDetails() 534 site, boilerplate, ObjectStats::JS_OBJECT_BOILERPLATE_TYPE, in RecordVirtualAllocationSiteDetails() 535 boilerplate.Size(), ObjectStats::kNoOverAllocation); in RecordVirtualAllocationSiteDetails() 536 if (boilerplate.HasFastProperties()) { in RecordVirtualAllocationSiteDetails() 539 PropertyArray properties = boilerplate.property_array(); in RecordVirtualAllocationSiteDetails() 543 NameDictionary properties = boilerplate.property_dictionary(); in RecordVirtualAllocationSiteDetails() 548 FixedArrayBase elements = boilerplate in RecordVirtualAllocationSiteDetails() [all...] |
H A D | factory-base.cc | 453 FactoryBase<Impl>::NewObjectBoilerplateDescription(int boilerplate, in NewObjectBoilerplateDescription() argument 457 DCHECK_GE(boilerplate, 0); in NewObjectBoilerplateDescription() 464 bool has_different_size_backing_store = boilerplate != backing_store_size; in NewObjectBoilerplateDescription() 466 // Space for name and value for every boilerplate property + LiteralType flag. in NewObjectBoilerplateDescription() 468 2 * boilerplate + ObjectBoilerplateDescription::kDescriptionStartIndex; in NewObjectBoilerplateDescription() 481 DCHECK_IMPLIES((boilerplate == (all_properties - index_keys)), in NewObjectBoilerplateDescription()
|
H A D | factory-base.h | 144 // Allocates a fixed array for name-value pairs of boilerplate properties and 147 int boilerplate, int all_properties, int index_keys, bool has_seen_proto);
|
/third_party/node/deps/v8/src/diagnostics/ |
H A D | objects-printer.cc | 2165 } else if (boilerplate().IsJSArray()) { in AllocationSitePrint() 2166 os << "Array literal with boilerplate " << Brief(boilerplate()); in AllocationSitePrint() 2168 os << "Object literal with boilerplate " << Brief(boilerplate()); in AllocationSitePrint()
|
/third_party/node/deps/v8/src/codegen/ |
H A D | code-stub-assembler.cc | 3683 Comment("Copy boilerplate property dict"); 11655 TNode<JSObject> boilerplate = CAST(LoadObjectField( 11657 return boilerplate;
|