Home
last modified time | relevance | path

Searched refs:boilerplate (Results 1 - 20 of 20) sorted by relevance

/third_party/node/deps/v8/src/objects/
H A Dallocation-site-inl.h41 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 Dallocation-site.h40 // 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 Dallocation-site-scopes-inl.h38 DCHECK(object.is_null() || *object == scope_site->boilerplate()); in ExitScope()
H A Dobjects.cc5266 Object current = boilerplate().GetHeap()->allocation_sites_list(); in IsNested()
/third_party/node/deps/v8/src/runtime/
H A Druntime-literals.cc395 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 Dgenerate_module.rb132 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 Dbuiltins-constructor-gen.cc414 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 Dgenerate_module.rb136 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 Djs-create-lowering.h101 JSObjectRef boilerplate,
106 Node* effect, Node* control, JSObjectRef boilerplate,
119 RegExpBoilerplateDescriptionRef boilerplate);
H A Djs-create-lowering.cc1107 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 Djs-heap-broker.cc650 RegExpBoilerplateDescriptionRef boilerplate = MakeRefAssumeMemoryFence( in ReadFeedbackForRegExpLiteral() local
652 return *zone()->New<RegExpLiteralFeedback>(boilerplate, nexus.kind()); in ReadFeedbackForRegExpLiteral()
H A Dheap-refs.h651 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 Dcompilation-dependencies.cc914 ? site->boilerplate(kAcquireLoad).map().elements_kind()
1143 ? site.boilerplate().value().map().elements_kind() in DependOnElementsKind()
H A Dheap-refs.cc1990 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 Djs-call-reducer.cc4238 // 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 Dobject-stats.cc527 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 Dfactory-base.cc453 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 Dfactory-base.h144 // 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 Dobjects-printer.cc2165 } 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 Dcode-stub-assembler.cc3683 Comment("Copy boilerplate property dict");
11655 TNode<JSObject> boilerplate = CAST(LoadObjectField(
11657 return boilerplate;

Completed in 58 milliseconds