v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::Factory Class Reference

#include <factory.h>

Inheritance diagram for v8::internal::Factory:
Collaboration diagram for v8::internal::Factory:

Classes

class  CodeBuilder
 
class  JSFunctionBuilder
 

Public Member Functions

ReadOnlyRoots read_only_roots () const
 
DirectHandle< HoleNewHole ()
 
DirectHandle< PropertyArrayNewPropertyArray (int length, AllocationType allocation=AllocationType::kYoung)
 
V8_WARN_UNUSED_RESULT MaybeHandle< FixedArrayTryNewFixedArray (int length, AllocationType allocation=AllocationType::kYoung)
 
Handle< FeedbackVectorNewFeedbackVector (DirectHandle< SharedFunctionInfo > shared, DirectHandle< ClosureFeedbackCellArray > closure_feedback_cell_array, DirectHandle< FeedbackCell > parent_feedback_cell)
 
DirectHandle< EmbedderDataArrayNewEmbedderDataArray (int length)
 
DirectHandle< FixedArrayBaseNewFixedDoubleArrayWithHoles (int size)
 
DirectHandle< NameDictionaryNewNameDictionary (int at_least_space_for)
 
Handle< OrderedHashSetNewOrderedHashSet ()
 
Handle< OrderedHashMapNewOrderedHashMap ()
 
Handle< SmallOrderedHashSetNewSmallOrderedHashSet (int capacity=kSmallOrderedHashSetMinCapacity, AllocationType allocation=AllocationType::kYoung)
 
Handle< SmallOrderedHashMapNewSmallOrderedHashMap (int capacity=kSmallOrderedHashMapMinCapacity, AllocationType allocation=AllocationType::kYoung)
 
Handle< SmallOrderedNameDictionaryNewSmallOrderedNameDictionary (int capacity=kSmallOrderedHashMapMinCapacity, AllocationType allocation=AllocationType::kYoung)
 
DirectHandle< SwissNameDictionaryCreateCanonicalEmptySwissNameDictionary ()
 
DirectHandle< PrototypeInfoNewPrototypeInfo ()
 
DirectHandle< EnumCacheNewEnumCache (DirectHandle< FixedArray > keys, DirectHandle< FixedArray > indices, AllocationType allocation=AllocationType::kOld)
 
DirectHandle< Tuple2NewTuple2Uninitialized (AllocationType allocation)
 
DirectHandle< Tuple2NewTuple2 (DirectHandle< Object > value1, DirectHandle< Object > value2, AllocationType allocation)
 
DirectHandle< PropertyDescriptorObjectNewPropertyDescriptorObject ()
 
Handle< StringInternalizeUtf8String (base::Vector< const char > str)
 
Handle< StringInternalizeUtf8String (const char *str)
 
Handle< StringInternalizeString (base::Vector< const char > str, bool convert_encoding=false)
 
Handle< StringInternalizeString (const char *str, bool convert_encoding=false)
 
template<typename SeqString , template< typename > typename HandleType>
requires ( std::is_convertible_v<HandleType<SeqString>, DirectHandle<SeqString>>)
Handle< StringInternalizeSubString (HandleType< SeqString >, uint32_t from, uint32_t length, bool convert_encoding=false)
 
template<typename T >
requires (std::is_convertible_v<Handle<T>, Handle<String>>)
Handle< StringInternalizeString (Handle< T > string)
 
template<typename T >
requires (std::is_convertible_v<Handle<T>, Handle<Name>>)
Handle< NameInternalizeName (Handle< T > name)
 
template<typename T >
requires (std::is_convertible_v<DirectHandle<T>, DirectHandle<String>>)
DirectHandle< StringInternalizeString (DirectHandle< T > string)
 
template<typename T >
requires (std::is_convertible_v<DirectHandle<T>, DirectHandle<Name>>)
DirectHandle< NameInternalizeName (DirectHandle< T > name)
 
template<size_t N>
Handle< StringNewStringFromStaticChars (const char(&str)[N], AllocationType allocation=AllocationType::kYoung)
 
V8_WARN_UNUSED_RESULT MaybeHandle< StringNewStringFromUtf8 (base::Vector< const char > str, AllocationType allocation=AllocationType::kYoung)
 
V8_WARN_UNUSED_RESULT MaybeHandle< StringNewStringFromUtf8 (base::Vector< const uint8_t > str, unibrow::Utf8Variant utf8_variant, AllocationType allocation=AllocationType::kYoung)
 
V8_WARN_UNUSED_RESULT MaybeHandle< StringNewStringFromUtf8SubString (Handle< SeqOneByteString > str, int begin, int end, AllocationType allocation=AllocationType::kYoung)
 
V8_WARN_UNUSED_RESULT MaybeHandle< StringNewStringFromTwoByte (base::Vector< const base::uc16 > str, AllocationType allocation=AllocationType::kYoung)
 
V8_WARN_UNUSED_RESULT MaybeDirectHandle< StringNewStringFromTwoByte (const ZoneVector< base::uc16 > *str, AllocationType allocation=AllocationType::kYoung)
 
DirectHandle< JSStringIteratorNewJSStringIterator (Handle< String > string)
 
DirectHandle< StringNewInternalizedStringImpl (DirectHandle< String > string, int len, uint32_t hash_field)
 
V8_WARN_UNUSED_RESULT StringTransitionStrategy ComputeInternalizationStrategyForString (DirectHandle< String > string, MaybeDirectHandle< Map > *internalized_map)
 
template<class StringClass >
DirectHandle< StringClass > InternalizeExternalString (DirectHandle< String > string)
 
V8_WARN_UNUSED_RESULT StringTransitionStrategy ComputeSharingStrategyForString (DirectHandle< String > string, MaybeDirectHandle< Map > *shared_map)
 
DirectHandle< StringNewSurrogatePairString (uint16_t lead, uint16_t trail)
 
Handle< StringNewProperSubString (DirectHandle< String > str, uint32_t begin, uint32_t end)
 
Handle< StringNewCopiedSubstring (DirectHandle< String > str, uint32_t begin, uint32_t length)
 
template<typename T , template< typename > typename HandleType>
requires (std::is_convertible_v<HandleType<T>, HandleType<String>>)
HandleType< StringNewSubString (HandleType< T > str, uint32_t begin, uint32_t end)
 
V8_WARN_UNUSED_RESULT MaybeHandle< StringNewExternalStringFromOneByte (const v8::String::ExternalOneByteStringResource *resource)
 
V8_WARN_UNUSED_RESULT MaybeHandle< StringNewExternalStringFromTwoByte (const v8::String::ExternalStringResource *resource)
 
Handle< SymbolNewSymbol (AllocationType allocation=AllocationType::kOld)
 
Handle< SymbolNewPrivateSymbol (AllocationType allocation=AllocationType::kOld)
 
DirectHandle< SymbolNewPrivateNameSymbol (DirectHandle< String > name)
 
Handle< NativeContextNewNativeContext ()
 
DirectHandle< ContextNewScriptContext (DirectHandle< NativeContext > outer, DirectHandle< ScopeInfo > scope_info)
 
Handle< ScriptContextTableNewScriptContextTable ()
 
DirectHandle< ContextNewModuleContext (DirectHandle< SourceTextModule > module, DirectHandle< NativeContext > outer, DirectHandle< ScopeInfo > scope_info)
 
DirectHandle< ContextNewFunctionContext (DirectHandle< Context > outer, DirectHandle< ScopeInfo > scope_info)
 
DirectHandle< ContextNewCatchContext (DirectHandle< Context > previous, DirectHandle< ScopeInfo > scope_info, DirectHandle< Object > thrown_object)
 
Handle< ContextNewWithContext (DirectHandle< Context > previous, DirectHandle< ScopeInfo > scope_info, DirectHandle< JSReceiver > extension)
 
Handle< ContextNewDebugEvaluateContext (DirectHandle< Context > previous, DirectHandle< ScopeInfo > scope_info, DirectHandle< JSReceiver > extension, DirectHandle< Context > wrapped)
 
DirectHandle< ContextNewBlockContext (DirectHandle< Context > previous, DirectHandle< ScopeInfo > scope_info)
 
DirectHandle< ContextNewBuiltinContext (DirectHandle< NativeContext > native_context, int length)
 
DirectHandle< AliasedArgumentsEntryNewAliasedArgumentsEntry (int aliased_context_slot)
 
DirectHandle< AccessorInfoNewAccessorInfo ()
 
DirectHandle< InterceptorInfoNewInterceptorInfo (AllocationType allocation=AllocationType::kOld)
 
DirectHandle< ErrorStackDataNewErrorStackData (DirectHandle< UnionOf< JSAny, FixedArray > > call_site_infos_or_formatted_stack, DirectHandle< StackTraceInfo > stack_trace)
 
Handle< ScriptCloneScript (DirectHandle< Script > script, DirectHandle< String > source)
 
DirectHandle< BreakPointInfoNewBreakPointInfo (int source_position)
 
Handle< BreakPointNewBreakPoint (int id, DirectHandle< String > condition)
 
Handle< CallSiteInfoNewCallSiteInfo (DirectHandle< JSAny > receiver_or_instance, DirectHandle< UnionOf< Smi, JSFunction > > function, DirectHandle< HeapObject > code_object, int code_offset_or_source_position, int flags, DirectHandle< FixedArray > parameters)
 
DirectHandle< StackFrameInfoNewStackFrameInfo (DirectHandle< UnionOf< SharedFunctionInfo, Script > > shared_or_script, int bytecode_offset_or_source_position, DirectHandle< String > function_name, bool is_constructor)
 
Handle< StackTraceInfoNewStackTraceInfo (DirectHandle< FixedArray > frames)
 
DirectHandle< CallableTaskNewCallableTask (DirectHandle< JSReceiver > callable, DirectHandle< Context > context)
 
DirectHandle< CallbackTaskNewCallbackTask (DirectHandle< Foreign > callback, DirectHandle< Foreign > data)
 
DirectHandle< PromiseResolveThenableJobTaskNewPromiseResolveThenableJobTask (DirectHandle< JSPromise > promise_to_resolve, DirectHandle< JSReceiver > thenable, DirectHandle< JSReceiver > then, DirectHandle< Context > context)
 
template<ExternalPointerTag tag>
Handle< ForeignNewForeign (Address addr, AllocationType allocation_type=AllocationType::kYoung)
 
Handle< TrustedForeignNewTrustedForeign (Address addr)
 
Handle< CellNewCell (Tagged< Smi > value)
 
Handle< CellNewCell ()
 
Handle< PropertyCellNewPropertyCell (DirectHandle< Name > name, PropertyDetails details, DirectHandle< Object > value, AllocationType allocation=AllocationType::kOld)
 
DirectHandle< ContextSidePropertyCellNewContextSidePropertyCell (ContextSidePropertyCell::Property property, AllocationType allocation=AllocationType::kOld)
 
DirectHandle< PropertyCellNewProtector ()
 
DirectHandle< FeedbackCellNewNoClosuresCell ()
 
DirectHandle< FeedbackCellNewOneClosureCell (DirectHandle< ClosureFeedbackCellArray > value)
 
DirectHandle< FeedbackCellNewManyClosuresCell (AllocationType allocation=AllocationType::kOld)
 
DirectHandle< TransitionArrayNewTransitionArray (int number_of_transitions, int slack=0)
 
Handle< AllocationSiteNewAllocationSite (bool with_weak_next)
 
Handle< MapNewMap (DirectHandle< HeapObject > meta_map_holder, InstanceType type, int instance_size, ElementsKind elements_kind=TERMINAL_FAST_ELEMENTS_KIND, int inobject_properties=0, AllocationType allocation_type=AllocationType::kMap)
 
DirectHandle< MapNewMapWithMetaMap (DirectHandle< Map > meta_map, InstanceType type, int instance_size, ElementsKind elements_kind=TERMINAL_FAST_ELEMENTS_KIND, int inobject_properties=0, AllocationType allocation_type=AllocationType::kMap)
 
DirectHandle< MapNewContextfulMap (DirectHandle< JSReceiver > creation_context_holder, InstanceType type, int instance_size, ElementsKind elements_kind=TERMINAL_FAST_ELEMENTS_KIND, int inobject_properties=0, AllocationType allocation_type=AllocationType::kMap)
 
DirectHandle< MapNewContextfulMap (DirectHandle< NativeContext > native_context, InstanceType type, int instance_size, ElementsKind elements_kind=TERMINAL_FAST_ELEMENTS_KIND, int inobject_properties=0, AllocationType allocation_type=AllocationType::kMap)
 
Handle< MapNewContextfulMapForCurrentContext (InstanceType type, int instance_size, ElementsKind elements_kind=TERMINAL_FAST_ELEMENTS_KIND, int inobject_properties=0, AllocationType allocation_type=AllocationType::kMap)
 
Handle< MapNewContextlessMap (InstanceType type, int instance_size, ElementsKind elements_kind=TERMINAL_FAST_ELEMENTS_KIND, int inobject_properties=0, AllocationType allocation_type=AllocationType::kMap)
 
Tagged< MapInitializeMap (Tagged< Map > map, InstanceType type, int instance_size, ElementsKind elements_kind, int inobject_properties, ReadOnlyRoots roots)
 
DirectHandle< HeapObjectNewFillerObject (int size, AllocationAlignment alignment, AllocationType allocation, AllocationOrigin origin=AllocationOrigin::kRuntime)
 
DirectHandle< JSObjectNewFunctionPrototype (DirectHandle< JSFunction > function)
 
Handle< JSObjectCopyJSObject (DirectHandle< JSObject > object)
 
Handle< JSObjectCopyJSObjectWithAllocationSite (DirectHandle< JSObject > object, DirectHandle< AllocationSite > site)
 
Handle< FixedArrayCopyFixedArrayWithMap (DirectHandle< FixedArray > array, DirectHandle< Map > map, AllocationType allocation=AllocationType::kYoung)
 
Handle< FixedArrayCopyFixedArrayAndGrow (DirectHandle< FixedArray > array, int grow_by, AllocationType allocation=AllocationType::kYoung)
 
DirectHandle< WeakArrayListNewWeakArrayList (int capacity, AllocationType allocation=AllocationType::kYoung)
 
DirectHandle< WeakFixedArrayCopyWeakFixedArray (DirectHandle< WeakFixedArray > array)
 
DirectHandle< WeakFixedArrayCopyWeakFixedArrayAndGrow (DirectHandle< WeakFixedArray > array, int grow_by)
 
Handle< WeakArrayListCopyWeakArrayListAndGrow (DirectHandle< WeakArrayList > array, int grow_by, AllocationType allocation=AllocationType::kYoung)
 
DirectHandle< WeakArrayListCompactWeakArrayList (DirectHandle< WeakArrayList > array, int new_capacity, AllocationType allocation=AllocationType::kYoung)
 
DirectHandle< PropertyArrayCopyPropertyArrayAndGrow (DirectHandle< PropertyArray > array, int grow_by)
 
Handle< FixedArrayCopyFixedArrayUpTo (DirectHandle< FixedArray > array, int new_len, AllocationType allocation=AllocationType::kYoung)
 
Handle< FixedArrayCopyFixedArray (Handle< FixedArray > array)
 
Handle< FixedDoubleArrayCopyFixedDoubleArray (Handle< FixedDoubleArray > array)
 
Handle< HeapNumberNewHeapNumberForCodeAssembler (double value)
 
Handle< JSObjectNewArgumentsObject (DirectHandle< JSFunction > callee, int length)
 
Handle< JSObjectNewJSObject (DirectHandle< JSFunction > constructor, AllocationType allocation=AllocationType::kYoung, NewJSObjectType=NewJSObjectType::kNoAPIWrapper)
 
Handle< JSObjectNewJSObjectWithNullProto ()
 
Handle< JSObjectNewSlowJSObjectWithNullProto ()
 
Handle< JSGlobalObjectNewJSGlobalObject (DirectHandle< JSFunction > constructor)
 
Handle< JSObjectNewJSObjectFromMap (DirectHandle< Map > map, AllocationType allocation=AllocationType::kYoung, DirectHandle< AllocationSite > allocation_site=DirectHandle< AllocationSite >::null(), NewJSObjectType=NewJSObjectType::kNoAPIWrapper)
 
Handle< JSObjectNewSlowJSObjectFromMap (DirectHandle< Map > map, int number_of_slow_properties, AllocationType allocation=AllocationType::kYoung, DirectHandle< AllocationSite > allocation_site=DirectHandle< AllocationSite >::null(), NewJSObjectType=NewJSObjectType::kNoAPIWrapper)
 
Handle< JSObjectNewSlowJSObjectFromMap (DirectHandle< Map > map)
 
Handle< JSObjectNewFastOrSlowJSObjectFromMap (DirectHandle< Map > map, int number_of_slow_properties, AllocationType allocation=AllocationType::kYoung, DirectHandle< AllocationSite > allocation_site=DirectHandle< AllocationSite >::null(), NewJSObjectType=NewJSObjectType::kNoAPIWrapper)
 
Handle< JSObjectNewFastOrSlowJSObjectFromMap (DirectHandle< Map > map)
 
DirectHandle< JSObjectNewSlowJSObjectWithPropertiesAndElements (DirectHandle< JSPrototype > prototype, DirectHandle< HeapObject > properties, DirectHandle< FixedArrayBase > elements)
 
Handle< JSArrayNewJSArray (ElementsKind elements_kind, int length, int capacity, ArrayStorageAllocationMode mode=ArrayStorageAllocationMode::DONT_INITIALIZE_ARRAY_ELEMENTS, AllocationType allocation=AllocationType::kYoung)
 
Handle< JSArrayNewJSArray (int capacity, ElementsKind elements_kind=TERMINAL_FAST_ELEMENTS_KIND, AllocationType allocation=AllocationType::kYoung)
 
Handle< JSArrayNewJSArrayWithElements (DirectHandle< FixedArrayBase > elements, ElementsKind elements_kind, int length, AllocationType allocation=AllocationType::kYoung)
 
Handle< JSArrayNewJSArrayWithElements (DirectHandle< FixedArrayBase > elements, ElementsKind elements_kind=TERMINAL_FAST_ELEMENTS_KIND, AllocationType allocation=AllocationType::kYoung)
 
DirectHandle< JSArrayNewJSArrayForTemplateLiteralArray (DirectHandle< FixedArray > cooked_strings, DirectHandle< FixedArray > raw_strings, int function_literal_id, int slot_id)
 
void NewJSArrayStorage (DirectHandle< JSArray > array, int length, int capacity, ArrayStorageAllocationMode mode=ArrayStorageAllocationMode::DONT_INITIALIZE_ARRAY_ELEMENTS)
 
Handle< JSWeakMapNewJSWeakMap ()
 
DirectHandle< JSGeneratorObjectNewJSGeneratorObject (DirectHandle< JSFunction > function)
 
DirectHandle< JSModuleNamespaceNewJSModuleNamespace ()
 
DirectHandle< JSWrappedFunctionNewJSWrappedFunction (DirectHandle< NativeContext > creation_context, DirectHandle< Object > target)
 
DirectHandle< JSDisposableStackBaseNewJSDisposableStackBase ()
 
DirectHandle< JSSyncDisposableStackNewJSSyncDisposableStack (DirectHandle< Map > map)
 
DirectHandle< JSAsyncDisposableStackNewJSAsyncDisposableStack (DirectHandle< Map > map)
 
DirectHandle< SourceTextModuleNewSourceTextModule (DirectHandle< SharedFunctionInfo > code)
 
Handle< SyntheticModuleNewSyntheticModule (DirectHandle< String > module_name, DirectHandle< FixedArray > export_names, v8::Module::SyntheticModuleEvaluationSteps evaluation_steps)
 
Handle< JSArrayBufferNewJSArrayBuffer (std::shared_ptr< BackingStore > backing_store, AllocationType allocation=AllocationType::kYoung)
 
MaybeHandle< JSArrayBufferNewJSArrayBufferAndBackingStore (size_t byte_length, InitializedFlag initialized, AllocationType allocation=AllocationType::kYoung)
 
MaybeHandle< JSArrayBufferNewJSArrayBufferAndBackingStore (size_t byte_length, size_t max_byte_length, InitializedFlag initialized, ResizableFlag resizable=ResizableFlag::kNotResizable, AllocationType allocation=AllocationType::kYoung)
 
Handle< JSArrayBufferNewJSSharedArrayBuffer (std::shared_ptr< BackingStore > backing_store)
 
Handle< JSTypedArrayNewJSTypedArray (ExternalArrayType type, DirectHandle< JSArrayBuffer > buffer, size_t byte_offset, size_t length, bool is_length_tracking=false)
 
Handle< JSDataViewOrRabGsabDataViewNewJSDataViewOrRabGsabDataView (DirectHandle< JSArrayBuffer > buffer, size_t byte_offset, size_t byte_length, bool is_length_tracking=false)
 
DirectHandle< JSIteratorResultNewJSIteratorResult (DirectHandle< Object > value, bool done)
 
DirectHandle< JSAsyncFromSyncIteratorNewJSAsyncFromSyncIterator (DirectHandle< JSReceiver > sync_iterator, DirectHandle< Object > next)
 
DirectHandle< JSMapNewJSMap ()
 
DirectHandle< JSSetNewJSSet ()
 
MaybeDirectHandle< JSBoundFunctionNewJSBoundFunction (DirectHandle< JSReceiver > target_function, DirectHandle< JSAny > bound_this, base::Vector< DirectHandle< Object > > bound_args, DirectHandle< JSPrototype > prototype)
 
Handle< JSProxyNewJSProxy (DirectHandle< JSReceiver > target, DirectHandle< JSReceiver > handler)
 
void ReinitializeJSGlobalProxy (DirectHandle< JSGlobalProxy > global, DirectHandle< JSFunction > constructor)
 
Handle< JSGlobalProxyNewUninitializedJSGlobalProxy (int size)
 
Handle< JSFunctionNewFunctionForTesting (DirectHandle< String > name)
 
Handle< JSObjectNewExternal (void *value, AllocationType allocation=AllocationType::kYoung)
 
DirectHandle< CodeNewCodeObjectForEmbeddedBuiltin (DirectHandle< Code > code, Address off_heap_entry)
 
DirectHandle< BytecodeArrayCopyBytecodeArray (DirectHandle< BytecodeArray >)
 
Handle< JSObjectNewError (DirectHandle< JSFunction > constructor, DirectHandle< String > message, DirectHandle< Object > options={})
 
DirectHandle< ObjectNewInvalidStringLengthError ()
 
DirectHandle< ObjectNewURIError ()
 
Handle< JSObjectNewError (DirectHandle< JSFunction > constructor, MessageTemplate template_index, base::Vector< const DirectHandle< Object > > args)
 
DirectHandle< JSObjectNewSuppressedErrorAtDisposal (Isolate *isolate, DirectHandle< Object > error, DirectHandle< Object > suppressed_error)
 
template<typename... Args>
requires ( std::conjunction_v<std::is_convertible<Args, DirectHandle<Object>>...>)
DirectHandle< JSObjectNewError (DirectHandle< JSFunction > constructor, MessageTemplate template_index, Args... args)
 
DirectHandle< JSObjectShadowRealmNewTypeErrorCopy (DirectHandle< Object > original, MessageTemplate template_index, base::Vector< const DirectHandle< Object > > args)
 
template<typename... Args>
requires ( std::conjunction_v<std::is_convertible<Args, DirectHandle<Object>>...>)
DirectHandle< JSObjectShadowRealmNewTypeErrorCopy (DirectHandle< Object > original, MessageTemplate template_index, Args... args)
 
Handle< StringSizeToString (size_t value, bool check_cache=true)
 
DirectHandle< StringUint32ToString (uint32_t value, bool check_cache=true)
 
Handle< SharedFunctionInfoNewSharedFunctionInfoForApiFunction (MaybeDirectHandle< String > maybe_name, DirectHandle< FunctionTemplateInfo > function_template_info, FunctionKind kind)
 
Handle< SharedFunctionInfoNewSharedFunctionInfoForBuiltin (MaybeDirectHandle< String > name, Builtin builtin, int len, AdaptArguments adapt, FunctionKind kind=FunctionKind::kNormalFunction)
 
DirectHandle< InterpreterDataNewInterpreterData (DirectHandle< BytecodeArray > bytecode_array, DirectHandle< Code > code)
 
DirectHandle< MapCreateSloppyFunctionMap (FunctionMode function_mode, MaybeDirectHandle< JSFunction > maybe_empty_function)
 
DirectHandle< MapCreateStrictFunctionMap (FunctionMode function_mode, DirectHandle< JSFunction > empty_function)
 
DirectHandle< MapCreateClassFunctionMap (DirectHandle< JSFunction > empty_function)
 
Handle< JSMessageObjectNewJSMessageObject (MessageTemplate message, DirectHandle< Object > argument, int start_position, int end_position, DirectHandle< SharedFunctionInfo > shared_info, int bytecode_offset, DirectHandle< Script > script, DirectHandle< StackTraceInfo > stack_trace=DirectHandle< StackTraceInfo >::null())
 
Handle< DebugInfoNewDebugInfo (DirectHandle< SharedFunctionInfo > shared)
 
Handle< MapObjectLiteralMapFromCache (DirectHandle< NativeContext > native_context, int number_of_properties)
 
Handle< LoadHandlerNewLoadHandler (int data_count, AllocationType allocation=AllocationType::kOld)
 
Handle< StoreHandlerNewStoreHandler (int data_count)
 
DirectHandle< MegaDomHandlerNewMegaDomHandler (MaybeObjectDirectHandle accessor, MaybeObjectDirectHandle context)
 
void SetRegExpAtomData (DirectHandle< JSRegExp > regexp, DirectHandle< String > source, JSRegExp::Flags flags, DirectHandle< String > match_pattern)
 
void SetRegExpIrregexpData (DirectHandle< JSRegExp > regexp, DirectHandle< String > source, JSRegExp::Flags flags, int capture_count, uint32_t backtrack_limit)
 
void SetRegExpExperimentalData (DirectHandle< JSRegExp > regexp, DirectHandle< String > source, JSRegExp::Flags flags, int capture_count)
 
DirectHandle< RegExpDataNewAtomRegExpData (DirectHandle< String > source, JSRegExp::Flags flags, DirectHandle< String > pattern)
 
DirectHandle< RegExpDataNewIrRegExpData (DirectHandle< String > source, JSRegExp::Flags flags, int capture_count, uint32_t backtrack_limit)
 
DirectHandle< RegExpDataNewExperimentalRegExpData (DirectHandle< String > source, JSRegExp::Flags flags, int capture_count)
 
DirectHandle< ObjectGlobalConstantFor (DirectHandle< Name > name)
 
DirectHandle< StringToPrimitiveHintString (ToPrimitiveHint hint)
 
Handle< JSPromiseNewJSPromiseWithoutHook ()
 
Handle< JSPromiseNewJSPromise ()
 
Tagged< HeapObjectNewForTest (DirectHandle< Map > map, AllocationType allocation)
 
DirectHandle< JSSharedStructNewJSSharedStruct (DirectHandle< JSFunction > constructor, MaybeDirectHandle< NumberDictionary > maybe_elements_template)
 
DirectHandle< JSSharedArrayNewJSSharedArray (DirectHandle< JSFunction > constructor, int length)
 
Handle< JSAtomicsMutexNewJSAtomicsMutex ()
 
Handle< JSAtomicsConditionNewJSAtomicsCondition ()
 
DirectHandle< FunctionTemplateInfoNewFunctionTemplateInfo (int length, bool do_not_cache)
 
DirectHandle< ObjectTemplateInfoNewObjectTemplateInfo (DirectHandle< FunctionTemplateInfo > constructor, bool do_not_cache)
 
DirectHandle< DictionaryTemplateInfoNewDictionaryTemplateInfo (DirectHandle< FixedArray > property_names)
 
template<typename MetaMapProviderFunc >
Handle< MapNewMapImpl (MetaMapProviderFunc &&meta_map_provider, InstanceType type, int instance_size, ElementsKind elements_kind, int inobject_properties, AllocationType allocation_type)
 
Handle< StringInternalizeString (base::Vector< const uint8_t > string, bool convert_encoding=false)
 
Handle< StringInternalizeString (base::Vector< const uint16_t > string, bool convert_encoding=false)
 
- Public Member Functions inherited from v8::internal::FactoryBase< Factory >
Handle< CodeNewCode (const NewCodeOptions &options)
 
DirectHandle< CodeWrapperNewCodeWrapper ()
 
Handle< BooleanToBoolean (bool value)
 
Handle< NumberNewNumber (double value)
 
Handle< NumberNewNumberFromInt (int32_t value)
 
Handle< NumberNewNumberFromUint (uint32_t value)
 
DirectHandle< NumberNewNumberFromSize (size_t value)
 
DirectHandle< NumberNewNumberFromInt64 (int64_t value)
 
Handle< HeapNumberNewHeapNumber (double value)
 
Handle< HeapNumberNewHeapNumber ()
 
Handle< HeapNumberNewHeapNumberFromBits (uint64_t bits)
 
Handle< HeapNumberNewHeapNumberWithHoleNaN ()
 
Handle< HeapNumberNewHeapInt32 (int32_t value)
 
Handle< StructNewStruct (InstanceType type, AllocationType allocation=AllocationType::kYoung)
 
Handle< AccessorPairNewAccessorPair ()
 
Handle< FixedArrayNewFixedArray (int length, AllocationType allocation=AllocationType::kYoung)
 
Handle< TrustedFixedArrayNewTrustedFixedArray (int length, AllocationType allocation=AllocationType::kTrusted)
 
Handle< ProtectedFixedArrayNewProtectedFixedArray (int length)
 
Handle< FixedArrayNewFixedArrayWithMap (DirectHandle< Map > map, int length, AllocationType allocation=AllocationType::kYoung)
 
Handle< FixedArrayNewFixedArrayWithHoles (int length, AllocationType allocation=AllocationType::kYoung)
 
DirectHandle< FixedArrayNewFixedArrayWithZeroes (int length, AllocationType allocation=AllocationType::kYoung)
 
Handle< FixedArrayBaseNewFixedDoubleArray (int length, AllocationType allocation=AllocationType::kYoung)
 
Handle< WeakFixedArrayNewWeakFixedArrayWithMap (Tagged< Map > map, int length, AllocationType allocation=AllocationType::kYoung)
 
Handle< WeakFixedArrayNewWeakFixedArray (int length, AllocationType allocation=AllocationType::kYoung)
 
Handle< TrustedWeakFixedArrayNewTrustedWeakFixedArray (int length)
 
Handle< ProtectedWeakFixedArrayNewProtectedWeakFixedArray (int length)
 
Handle< ByteArrayNewByteArray (int length, AllocationType allocation=AllocationType::kYoung)
 
Handle< TrustedByteArrayNewTrustedByteArray (int length, AllocationType allocation_type=AllocationType::kTrusted)
 
DirectHandle< DeoptimizationLiteralArrayNewDeoptimizationLiteralArray (int length)
 
DirectHandle< DeoptimizationFrameTranslationNewDeoptimizationFrameTranslation (int length)
 
Handle< BytecodeArrayNewBytecodeArray (int length, const uint8_t *raw_bytecodes, int frame_size, uint16_t parameter_count, uint16_t max_arguments, DirectHandle< TrustedFixedArray > constant_pool, DirectHandle< TrustedByteArray > handler_table, AllocationType allocation=AllocationType::kTrusted)
 
DirectHandle< BytecodeWrapperNewBytecodeWrapper (AllocationType allocation=AllocationType::kOld)
 
Handle< ObjectBoilerplateDescriptionNewObjectBoilerplateDescription (int boilerplate, int all_properties, int index_keys, bool has_seen_proto)
 
Handle< ArrayBoilerplateDescriptionNewArrayBoilerplateDescription (ElementsKind elements_kind, DirectHandle< FixedArrayBase > constant_values)
 
DirectHandle< RegExpDataWrapperNewRegExpDataWrapper ()
 
DirectHandle< RegExpBoilerplateDescriptionNewRegExpBoilerplateDescription (DirectHandle< RegExpData > data, DirectHandle< String > source, Tagged< Smi > flags)
 
Handle< TemplateObjectDescriptionNewTemplateObjectDescription (DirectHandle< FixedArray > raw_strings, DirectHandle< FixedArray > cooked_strings)
 
Handle< ScriptNewScript (DirectHandle< UnionOf< String, Undefined > > source, ScriptEventType event_type=ScriptEventType::kCreate)
 
Handle< ScriptNewScriptWithId (DirectHandle< UnionOf< String, Undefined > > source, int script_id, ScriptEventType event_type=ScriptEventType::kCreate)
 
DirectHandle< SloppyArgumentsElementsNewSloppyArgumentsElements (int length, DirectHandle< Context > context, DirectHandle< FixedArray > arguments, AllocationType allocation=AllocationType::kYoung)
 
DirectHandle< ArrayListNewArrayList (int size, AllocationType allocation=AllocationType::kYoung)
 
Handle< SharedFunctionInfoNewSharedFunctionInfoForLiteral (FunctionLiteral *literal, DirectHandle< Script > script, bool is_toplevel)
 
Handle< SharedFunctionInfoCloneSharedFunctionInfo (DirectHandle< SharedFunctionInfo > other)
 
DirectHandle< SharedFunctionInfoWrapperNewSharedFunctionInfoWrapper (DirectHandle< SharedFunctionInfo > sfi)
 
Handle< PreparseDataNewPreparseData (int data_length, int children_length)
 
DirectHandle< UncompiledDataWithoutPreparseDataNewUncompiledDataWithoutPreparseData (Handle< String > inferred_name, int32_t start_position, int32_t end_position)
 
DirectHandle< UncompiledDataWithPreparseDataNewUncompiledDataWithPreparseData (Handle< String > inferred_name, int32_t start_position, int32_t end_position, Handle< PreparseData >)
 
DirectHandle< UncompiledDataWithoutPreparseDataWithJobNewUncompiledDataWithoutPreparseDataWithJob (Handle< String > inferred_name, int32_t start_position, int32_t end_position)
 
DirectHandle< UncompiledDataWithPreparseDataAndJobNewUncompiledDataWithPreparseDataAndJob (Handle< String > inferred_name, int32_t start_position, int32_t end_position, Handle< PreparseData >)
 
Handle< FeedbackMetadataNewFeedbackMetadata (int slot_count, int create_closure_slot_count, AllocationType allocation=AllocationType::kOld)
 
Handle< CoverageInfoNewCoverageInfo (const ZoneVector< SourceRange > &slots)
 
Handle< StringInternalizeString (base::Vector< const uint8_t > string, bool convert_encoding=false)
 
Handle< StringInternalizeString (base::Vector< const uint16_t > string, bool convert_encoding=false)
 
Handle< StringInternalizeStringWithKey (StringTableKey *key)
 
Handle< SeqOneByteStringNewOneByteInternalizedString (base::Vector< const uint8_t > str, uint32_t raw_hash_field)
 
Handle< SeqTwoByteStringNewTwoByteInternalizedString (base::Vector< const base::uc16 > str, uint32_t raw_hash_field)
 
DirectHandle< SeqOneByteStringNewOneByteInternalizedStringFromTwoByte (base::Vector< const base::uc16 > str, uint32_t raw_hash_field)
 
Handle< SeqOneByteStringAllocateRawOneByteInternalizedString (int length, uint32_t raw_hash_field)
 
Handle< SeqTwoByteStringAllocateRawTwoByteInternalizedString (int length, uint32_t raw_hash_field)
 
Handle< StringLookupSingleCharacterStringFromCode (uint16_t code)
 
MaybeHandle< StringNewStringFromOneByte (base::Vector< const uint8_t > string, AllocationType allocation=AllocationType::kYoung)
 
Handle< StringNewStringFromAsciiChecked (const char *str, AllocationType allocation=AllocationType::kYoung)
 
Handle< StringNewStringFromAsciiChecked (std::string_view str, AllocationType allocation=AllocationType::kYoung)
 
V8_WARN_UNUSED_RESULT MaybeHandle< SeqOneByteStringNewRawOneByteString (int length, AllocationType allocation=AllocationType::kYoung)
 
V8_WARN_UNUSED_RESULT MaybeHandle< SeqTwoByteStringNewRawTwoByteString (int length, AllocationType allocation=AllocationType::kYoung)
 
V8_WARN_UNUSED_RESULT HandleType< String >::MaybeType NewConsString (HandleType< String > left, HandleType< String > right, AllocationType allocation=AllocationType::kYoung)
 
V8_WARN_UNUSED_RESULT Handle< StringNewConsString (DirectHandle< String > left, DirectHandle< String > right, int length, bool one_byte, AllocationType allocation=AllocationType::kYoung)
 
HandleType< String >::MaybeType NewConsString (HandleType< String > left, HandleType< String > right, AllocationType allocation)
 
V8_WARN_UNUSED_RESULT Handle< StringNumberToString (DirectHandle< Object > number, NumberCacheMode mode=NumberCacheMode::kBoth)
 
V8_WARN_UNUSED_RESULT Handle< StringHeapNumberToString (DirectHandle< HeapNumber > number, double value, NumberCacheMode mode=NumberCacheMode::kBoth)
 
V8_WARN_UNUSED_RESULT Handle< StringSmiToString (Tagged< Smi > number, NumberCacheMode mode=NumberCacheMode::kBoth)
 
V8_WARN_UNUSED_RESULT MaybeHandle< SeqOneByteStringNewRawSharedOneByteString (int length)
 
V8_WARN_UNUSED_RESULT MaybeHandle< SeqTwoByteStringNewRawSharedTwoByteString (int length)
 
Handle< FreshlyAllocatedBigIntNewBigInt (uint32_t length, AllocationType allocation=AllocationType::kYoung)
 
Handle< ScopeInfoNewScopeInfo (int length, AllocationType type=AllocationType::kOld)
 
DirectHandle< SourceTextModuleInfoNewSourceTextModuleInfo ()
 
Handle< DescriptorArrayNewDescriptorArray (int number_of_descriptors, int slack=0, AllocationType allocation=AllocationType::kYoung)
 
Handle< ClassPositionsNewClassPositions (int start, int end)
 
Handle< SwissNameDictionaryNewSwissNameDictionary (int at_least_space_for=kSwissNameDictionaryInitialCapacity, AllocationType allocation=AllocationType::kYoung)
 
Handle< SwissNameDictionaryNewSwissNameDictionaryWithCapacity (int capacity, AllocationType allocation)
 
DirectHandle< FunctionTemplateRareDataNewFunctionTemplateRareData ()
 
MaybeDirectHandle< MapGetInPlaceInternalizedStringMap (Tagged< Map > from_string_map)
 
AllocationType RefineAllocationTypeForInPlaceInternalizableString (AllocationType allocation, Tagged< Map > string_map)
 

Static Public Member Functions

static void TypeAndSizeForElementsKind (ElementsKind kind, ExternalArrayType *array_type, size_t *element_size)
 
static bool IsFunctionModeWithPrototype (FunctionMode function_mode)
 
static bool IsFunctionModeWithWritablePrototype (FunctionMode function_mode)
 
static bool IsFunctionModeWithName (FunctionMode function_mode)
 

Private Member Functions

Tagged< HeapObjectAllocateRaw (int size, AllocationType allocation, AllocationAlignment alignment=kTaggedAligned)
 
Isolateisolate () const
 
V8_INLINE HeapAllocatorallocator () const
 
bool CanAllocateInReadOnlySpace ()
 
bool EmptyStringRootIsInitialized ()
 
AllocationType AllocationTypeForInPlaceInternalizableString ()
 
void ProcessNewScript (DirectHandle< Script > shared, ScriptEventType script_event_type)
 
template<typename MetaMapProviderFunc >
V8_INLINE Handle< MapNewMapImpl (MetaMapProviderFunc &&meta_map_provider, InstanceType type, int instance_size, ElementsKind elements_kind=TERMINAL_FAST_ELEMENTS_KIND, int inobject_properties=0, AllocationType allocation_type=AllocationType::kMap)
 
Tagged< HeapObjectAllocateRawWithAllocationSite (DirectHandle< Map > map, AllocationType allocation, DirectHandle< AllocationSite > allocation_site)
 
Handle< JSArrayBufferViewNewJSArrayBufferView (DirectHandle< Map > map, DirectHandle< FixedArrayBase > elements, DirectHandle< JSArrayBuffer > buffer, size_t byte_offset, size_t byte_length)
 
Tagged< SymbolNewSymbolInternal (AllocationType allocation=AllocationType::kOld)
 
Tagged< ContextNewContextInternal (DirectHandle< Map > map, int size, int variadic_part_length, AllocationType allocation)
 
template<typename T >
Handle< TAllocateSmallOrderedHashTable (DirectHandle< Map > map, int capacity, AllocationType allocation)
 
Tagged< HeapObjectNew (DirectHandle< Map > map, AllocationType allocation)
 
template<typename T >
Handle< TCopyArrayWithMap (DirectHandle< T > src, DirectHandle< Map > map, AllocationType allocation=AllocationType::kYoung)
 
template<typename T >
Handle< TCopyArrayAndGrow (DirectHandle< T > src, int grow_by, AllocationType allocation)
 
MaybeHandle< StringNewStringFromTwoByte (const base::uc16 *string, int length, AllocationType allocation)
 
int NumberToStringCacheHash (Tagged< Smi > number)
 
int NumberToStringCacheHash (double number)
 
V8_INLINE Handle< ObjectNumberToStringCacheGet (Tagged< Object > number, int hash)
 
V8_INLINE void NumberToStringCacheSet (DirectHandle< Object > number, int hash, DirectHandle< String > js_string)
 
Handle< JSArrayNewJSArrayWithUnverifiedElements (DirectHandle< FixedArrayBase > elements, ElementsKind elements_kind, int length, AllocationType allocation=AllocationType::kYoung)
 
Handle< JSArrayNewJSArrayWithUnverifiedElements (DirectHandle< Map > map, DirectHandle< FixedArrayBase > elements, int length, AllocationType allocation=AllocationType::kYoung)
 
DirectHandle< FixedArrayBaseNewJSArrayStorage (ElementsKind elements_kind, int capacity, ArrayStorageAllocationMode mode=ArrayStorageAllocationMode::DONT_INITIALIZE_ARRAY_ELEMENTS)
 
void InitializeAllocationMemento (Tagged< AllocationMemento > memento, Tagged< AllocationSite > allocation_site)
 
void InitializeJSObjectFromMap (Tagged< JSObject > obj, Tagged< Object > properties, Tagged< Map > map, NewJSObjectType=NewJSObjectType::kNoAPIWrapper)
 
void InitializeJSObjectBody (Tagged< JSObject > obj, Tagged< Map > map, int start_offset)
 
void InitializeCppHeapWrapper (Tagged< JSObject > obj)
 
Handle< WeakArrayListNewUninitializedWeakArrayList (int capacity, AllocationType allocation=AllocationType::kYoung)
 

Friends

class FactoryBase< Factory >
 

Additional Inherited Members

- Protected Member Functions inherited from v8::internal::FactoryBase< Factory >
Tagged< HeapObjectAllocateRawArray (int size, AllocationType allocation)
 
Tagged< HeapObjectAllocateRawFixedArray (int length, AllocationType allocation)
 
Tagged< HeapObjectAllocateRawWeakArrayList (int length, AllocationType allocation)
 
Tagged< StructType > NewStructInternal (InstanceType type, AllocationType allocation)
 
Tagged< StructNewStructInternal (ReadOnlyRoots roots, Tagged< Map > map, int size, AllocationType allocation)
 
Tagged< HeapObjectAllocateRawWithImmortalMap (int size, AllocationType allocation, Tagged< Map > map, AllocationAlignment alignment=kTaggedAligned)
 
Tagged< HeapObjectNewWithImmortalMap (Tagged< Map > map, AllocationType allocation)
 
Handle< FixedArrayNewFixedArrayWithFiller (DirectHandle< Map > map, int length, DirectHandle< HeapObject > filler, AllocationType allocation)
 
Handle< SharedFunctionInfoNewSharedFunctionInfo (AllocationType allocation)
 
Handle< SharedFunctionInfoNewSharedFunctionInfo (MaybeDirectHandle< String > maybe_name, MaybeDirectHandle< HeapObject > maybe_function_data, Builtin builtin, int len, AdaptArguments adapt, FunctionKind kind=FunctionKind::kNormalFunction)
 
Handle< StringMakeOrFindTwoCharacterString (uint16_t c1, uint16_t c2)
 
MaybeHandle< SeqStringT > NewRawStringWithMap (int length, Tagged< Map > map, AllocationType allocation)
 
- Static Protected Attributes inherited from v8::internal::FactoryBase< Factory >
static constexpr int kNumberToStringBufferSize
 

Detailed Description

Definition at line 140 of file factory.h.

Member Function Documentation

◆ AllocateRaw()

Tagged< HeapObject > v8::internal::Factory::AllocateRaw ( int size,
AllocationType allocation,
AllocationAlignment alignment = kTaggedAligned )
private

Definition at line 292 of file factory.cc.

Here is the call graph for this function:

◆ AllocateRawWithAllocationSite()

Tagged< HeapObject > v8::internal::Factory::AllocateRawWithAllocationSite ( DirectHandle< Map > map,
AllocationType allocation,
DirectHandle< AllocationSite > allocation_site )
private

Definition at line 298 of file factory.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ AllocateSmallOrderedHashTable()

template<typename T >
Handle< T > v8::internal::Factory::AllocateSmallOrderedHashTable ( DirectHandle< Map > map,
int capacity,
AllocationType allocation )
private

Definition at line 511 of file factory.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ AllocationTypeForInPlaceInternalizableString()

AllocationType v8::internal::Factory::AllocationTypeForInPlaceInternalizableString ( )
private

Definition at line 4541 of file factory.cc.

Here is the call graph for this function:

◆ allocator()

HeapAllocator * v8::internal::Factory::allocator ( ) const
private

Definition at line 141 of file factory-inl.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ CanAllocateInReadOnlySpace()

bool v8::internal::Factory::CanAllocateInReadOnlySpace ( )
private

Definition at line 4533 of file factory.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ CloneScript()

Handle< Script > v8::internal::Factory::CloneScript ( DirectHandle< Script > script,
DirectHandle< String > source )

Definition at line 1577 of file factory.cc.

Here is the call graph for this function:

◆ CompactWeakArrayList()

DirectHandle< WeakArrayList > v8::internal::Factory::CompactWeakArrayList ( DirectHandle< WeakArrayList > array,
int new_capacity,
AllocationType allocation = AllocationType::kYoung )

Definition at line 2714 of file factory.cc.

Here is the call graph for this function:

◆ ComputeInternalizationStrategyForString()

StringTransitionStrategy v8::internal::Factory::ComputeInternalizationStrategyForString ( DirectHandle< String > string,
MaybeDirectHandle< Map > * internalized_map )

Definition at line 949 of file factory.cc.

Here is the call graph for this function:

◆ ComputeSharingStrategyForString()

StringTransitionStrategy v8::internal::Factory::ComputeSharingStrategyForString ( DirectHandle< String > string,
MaybeDirectHandle< Map > * shared_map )

Definition at line 1006 of file factory.cc.

Here is the call graph for this function:

◆ CopyArrayAndGrow()

template<typename T >
Handle< T > v8::internal::Factory::CopyArrayAndGrow ( DirectHandle< T > src,
int grow_by,
AllocationType allocation )
private

Definition at line 2624 of file factory.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ CopyArrayWithMap()

template<typename T >
Handle< T > v8::internal::Factory::CopyArrayWithMap ( DirectHandle< T > src,
DirectHandle< Map > map,
AllocationType allocation = AllocationType::kYoung )
private

Definition at line 2609 of file factory.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ CopyBytecodeArray()

DirectHandle< BytecodeArray > v8::internal::Factory::CopyBytecodeArray ( DirectHandle< BytecodeArray > source)

Definition at line 2956 of file factory.cc.

Here is the call graph for this function:

◆ CopyFixedArray()

Handle< FixedArray > v8::internal::Factory::CopyFixedArray ( Handle< FixedArray > array)

Definition at line 2761 of file factory.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ CopyFixedArrayAndGrow()

Handle< FixedArray > v8::internal::Factory::CopyFixedArrayAndGrow ( DirectHandle< FixedArray > array,
int grow_by,
AllocationType allocation = AllocationType::kYoung )

Definition at line 2678 of file factory.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ CopyFixedArrayUpTo()

Handle< FixedArray > v8::internal::Factory::CopyFixedArrayUpTo ( DirectHandle< FixedArray > array,
int new_len,
AllocationType allocation = AllocationType::kYoung )

Definition at line 2743 of file factory.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ CopyFixedArrayWithMap()

Handle< FixedArray > v8::internal::Factory::CopyFixedArrayWithMap ( DirectHandle< FixedArray > array,
DirectHandle< Map > map,
AllocationType allocation = AllocationType::kYoung )

Definition at line 2647 of file factory.cc.

Here is the call graph for this function:

◆ CopyFixedDoubleArray()

Handle< FixedDoubleArray > v8::internal::Factory::CopyFixedDoubleArray ( Handle< FixedDoubleArray > array)

Definition at line 2767 of file factory.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ CopyJSObject()

Handle< JSObject > v8::internal::Factory::CopyJSObject ( DirectHandle< JSObject > object)

Definition at line 2489 of file factory.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ CopyJSObjectWithAllocationSite()

Handle< JSObject > v8::internal::Factory::CopyJSObjectWithAllocationSite ( DirectHandle< JSObject > object,
DirectHandle< AllocationSite > site )

Definition at line 2493 of file factory.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ CopyPropertyArrayAndGrow()

DirectHandle< PropertyArray > v8::internal::Factory::CopyPropertyArrayAndGrow ( DirectHandle< PropertyArray > array,
int grow_by )

Definition at line 2738 of file factory.cc.

Here is the call graph for this function:

◆ CopyWeakArrayListAndGrow()

Handle< WeakArrayList > v8::internal::Factory::CopyWeakArrayListAndGrow ( DirectHandle< WeakArrayList > array,
int grow_by,
AllocationType allocation = AllocationType::kYoung )

Definition at line 2695 of file factory.cc.

Here is the call graph for this function:

◆ CopyWeakFixedArray()

DirectHandle< WeakFixedArray > v8::internal::Factory::CopyWeakFixedArray ( DirectHandle< WeakFixedArray > array)

Definition at line 2683 of file factory.cc.

Here is the call graph for this function:

◆ CopyWeakFixedArrayAndGrow()

DirectHandle< WeakFixedArray > v8::internal::Factory::CopyWeakFixedArrayAndGrow ( DirectHandle< WeakFixedArray > array,
int grow_by )

Definition at line 2689 of file factory.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ CreateCanonicalEmptySwissNameDictionary()

DirectHandle< SwissNameDictionary > v8::internal::Factory::CreateCanonicalEmptySwissNameDictionary ( )

Definition at line 586 of file factory.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ CreateClassFunctionMap()

DirectHandle< Map > v8::internal::Factory::CreateClassFunctionMap ( DirectHandle< JSFunction > empty_function)

Definition at line 4470 of file factory.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ CreateSloppyFunctionMap()

DirectHandle< Map > v8::internal::Factory::CreateSloppyFunctionMap ( FunctionMode function_mode,
MaybeDirectHandle< JSFunction > maybe_empty_function )

Definition at line 4296 of file factory.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ CreateStrictFunctionMap()

DirectHandle< Map > v8::internal::Factory::CreateStrictFunctionMap ( FunctionMode function_mode,
DirectHandle< JSFunction > empty_function )

Definition at line 4390 of file factory.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ EmptyStringRootIsInitialized()

bool v8::internal::Factory::EmptyStringRootIsInitialized ( )
private

Definition at line 4537 of file factory.cc.

Here is the call graph for this function:

◆ GlobalConstantFor()

DirectHandle< Object > v8::internal::Factory::GlobalConstantFor ( DirectHandle< Name > name)

Definition at line 4275 of file factory.cc.

Here is the call graph for this function:

◆ InitializeAllocationMemento()

void v8::internal::Factory::InitializeAllocationMemento ( Tagged< AllocationMemento > memento,
Tagged< AllocationSite > allocation_site )
private

Definition at line 326 of file factory.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ InitializeCppHeapWrapper()

void v8::internal::Factory::InitializeCppHeapWrapper ( Tagged< JSObject > obj)
private

Definition at line 3077 of file factory.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ InitializeJSObjectBody()

void v8::internal::Factory::InitializeJSObjectBody ( Tagged< JSObject > obj,
Tagged< Map > map,
int start_offset )
private

Definition at line 3111 of file factory.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ InitializeJSObjectFromMap()

void v8::internal::Factory::InitializeJSObjectFromMap ( Tagged< JSObject > obj,
Tagged< Object > properties,
Tagged< Map > map,
NewJSObjectType new_js_object_type = NewJSObjectType::kNoAPIWrapper )
private

Definition at line 3086 of file factory.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ InitializeMap()

Tagged< Map > v8::internal::Factory::InitializeMap ( Tagged< Map > map,
InstanceType type,
int instance_size,
ElementsKind elements_kind,
int inobject_properties,
ReadOnlyRoots roots )

Definition at line 2331 of file factory.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ InternalizeExternalString()

template<class StringClass >
template DirectHandle< ExternalTwoByteString > v8::internal::Factory::InternalizeExternalString< ExternalTwoByteString > ( DirectHandle< String > string)

Definition at line 985 of file factory.cc.

Here is the call graph for this function:

◆ InternalizeName() [1/2]

template<typename T >
requires (std::is_convertible_v<DirectHandle<T>, DirectHandle<Name>>)
DirectHandle< Name > v8::internal::Factory::InternalizeName ( DirectHandle< T > name)
inline

Definition at line 71 of file factory-inl.h.

Here is the call graph for this function:

◆ InternalizeName() [2/2]

template<typename T >
requires (std::is_convertible_v<Handle<T>, Handle<Name>>)
Handle< Name > v8::internal::Factory::InternalizeName ( Handle< T > name)
inline

Definition at line 51 of file factory-inl.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ InternalizeString() [1/6]

Handle< String > v8::internal::Factory::InternalizeString ( base::Vector< const char > str,
bool convert_encoding = false )
inline

Definition at line 216 of file factory.h.

Here is the caller graph for this function:

◆ InternalizeString() [2/6]

Handle< String > v8::internal::FactoryBase< Impl >::InternalizeString ( base::Vector< const uint16_t > string,
bool convert_encoding = false )

Definition at line 298 of file factory-base.cc.

◆ InternalizeString() [3/6]

Handle< String > v8::internal::FactoryBase< Impl >::InternalizeString ( base::Vector< const uint8_t > string,
bool convert_encoding = false )

◆ InternalizeString() [4/6]

Handle< String > v8::internal::Factory::InternalizeString ( const char * str,
bool convert_encoding = false )
inline

Definition at line 222 of file factory.h.

◆ InternalizeString() [5/6]

template<typename T >
requires (std::is_convertible_v<DirectHandle<T>, DirectHandle<String>>)
DirectHandle< String > v8::internal::Factory::InternalizeString ( DirectHandle< T > string)
inline

Definition at line 62 of file factory-inl.h.

Here is the call graph for this function:

◆ InternalizeString() [6/6]

template<typename T >
requires (std::is_convertible_v<Handle<T>, Handle<String>>)
Handle< String > v8::internal::Factory::InternalizeString ( Handle< T > string)
inline

Definition at line 41 of file factory-inl.h.

Here is the call graph for this function:

◆ InternalizeSubString()

template<typename SeqString , template< typename > typename HandleType>
requires ( std::is_convertible_v<HandleType<SeqString>, DirectHandle<SeqString>>)
template Handle< String > v8::internal::Factory::InternalizeSubString ( HandleType< SeqString > ,
uint32_t from,
uint32_t length,
bool convert_encoding = false )

Definition at line 628 of file factory.cc.

Here is the call graph for this function:

◆ InternalizeUtf8String() [1/2]

Handle< String > v8::internal::Factory::InternalizeUtf8String ( base::Vector< const char > str)

Definition at line 608 of file factory.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ InternalizeUtf8String() [2/2]

Handle< String > v8::internal::Factory::InternalizeUtf8String ( const char * str)
inline

Definition at line 209 of file factory.h.

◆ IsFunctionModeWithName()

static bool v8::internal::Factory::IsFunctionModeWithName ( FunctionMode function_mode)
inlinestatic

Definition at line 1008 of file factory.h.

Here is the caller graph for this function:

◆ IsFunctionModeWithPrototype()

static bool v8::internal::Factory::IsFunctionModeWithPrototype ( FunctionMode function_mode)
inlinestatic

Definition at line 1000 of file factory.h.

Here is the caller graph for this function:

◆ IsFunctionModeWithWritablePrototype()

static bool v8::internal::Factory::IsFunctionModeWithWritablePrototype ( FunctionMode function_mode)
inlinestatic

Definition at line 1004 of file factory.h.

Here is the caller graph for this function:

◆ isolate()

Isolate * v8::internal::Factory::isolate ( ) const
inlineprivate

Definition at line 1281 of file factory.h.

◆ New()

Tagged< HeapObject > v8::internal::Factory::New ( DirectHandle< Map > map,
AllocationType allocation )
private

Definition at line 337 of file factory.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ NewAccessorInfo()

DirectHandle< AccessorInfo > v8::internal::Factory::NewAccessorInfo ( )

Definition at line 1512 of file factory.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ NewAliasedArgumentsEntry()

DirectHandle< AliasedArgumentsEntry > v8::internal::Factory::NewAliasedArgumentsEntry ( int aliased_context_slot)

Definition at line 1504 of file factory.cc.

Here is the call graph for this function:

◆ NewAllocationSite()

Handle< AllocationSite > v8::internal::Factory::NewAllocationSite ( bool with_weak_next)

Definition at line 2279 of file factory.cc.

Here is the call graph for this function:

◆ NewArgumentsObject()

Handle< JSObject > v8::internal::Factory::NewArgumentsObject ( DirectHandle< JSFunction > callee,
int length )

Definition at line 4058 of file factory.cc.

Here is the call graph for this function:

◆ NewAtomRegExpData()

DirectHandle< RegExpData > v8::internal::Factory::NewAtomRegExpData ( DirectHandle< String > source,
JSRegExp::Flags flags,
DirectHandle< String > pattern )

Definition at line 4189 of file factory.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ NewBlockContext()

DirectHandle< Context > v8::internal::Factory::NewBlockContext ( DirectHandle< Context > previous,
DirectHandle< ScopeInfo > scope_info )

Definition at line 1475 of file factory.cc.

Here is the call graph for this function:

◆ NewBreakPoint()

Handle< BreakPoint > v8::internal::Factory::NewBreakPoint ( int id,
DirectHandle< String > condition )

Definition at line 4004 of file factory.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ NewBreakPointInfo()

DirectHandle< BreakPointInfo > v8::internal::Factory::NewBreakPointInfo ( int source_position)

Definition at line 3994 of file factory.cc.

Here is the call graph for this function:

◆ NewBuiltinContext()

DirectHandle< Context > v8::internal::Factory::NewBuiltinContext ( DirectHandle< NativeContext > native_context,
int length )

Definition at line 1490 of file factory.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ NewCallableTask()

DirectHandle< CallableTask > v8::internal::Factory::NewCallableTask ( DirectHandle< JSReceiver > callable,
DirectHandle< Context > context )

Definition at line 1614 of file factory.cc.

Here is the call graph for this function:

◆ NewCallbackTask()

DirectHandle< CallbackTask > v8::internal::Factory::NewCallbackTask ( DirectHandle< Foreign > callback,
DirectHandle< Foreign > data )

Definition at line 1630 of file factory.cc.

Here is the call graph for this function:

◆ NewCallSiteInfo()

Handle< CallSiteInfo > v8::internal::Factory::NewCallSiteInfo ( DirectHandle< JSAny > receiver_or_instance,
DirectHandle< UnionOf< Smi, JSFunction > > function,
DirectHandle< HeapObject > code_object,
int code_offset_or_source_position,
int flags,
DirectHandle< FixedArray > parameters )

Definition at line 4014 of file factory.cc.

Here is the call graph for this function:

◆ NewCatchContext()

DirectHandle< Context > v8::internal::Factory::NewCatchContext ( DirectHandle< Context > previous,
DirectHandle< ScopeInfo > scope_info,
DirectHandle< Object > thrown_object )

Definition at line 1415 of file factory.cc.

Here is the call graph for this function:

◆ NewCell() [1/2]

Handle< Cell > v8::internal::Factory::NewCell ( )

Definition at line 2166 of file factory.cc.

Here is the call graph for this function:

◆ NewCell() [2/2]

Handle< Cell > v8::internal::Factory::NewCell ( Tagged< Smi > value)

Definition at line 2157 of file factory.cc.

Here is the call graph for this function:

◆ NewCodeObjectForEmbeddedBuiltin()

DirectHandle< Code > v8::internal::Factory::NewCodeObjectForEmbeddedBuiltin ( DirectHandle< Code > code,
Address off_heap_entry )

Definition at line 2910 of file factory.cc.

Here is the call graph for this function:

◆ NewContextfulMap() [1/2]

DirectHandle< Map > v8::internal::Factory::NewContextfulMap ( DirectHandle< JSReceiver > creation_context_holder,
InstanceType type,
int instance_size,
ElementsKind elements_kind = TERMINAL_FAST_ELEMENTS_KIND,
int inobject_properties = 0,
AllocationType allocation_type = AllocationType::kMap )

Definition at line 2418 of file factory.cc.

Here is the call graph for this function:

◆ NewContextfulMap() [2/2]

DirectHandle< Map > v8::internal::Factory::NewContextfulMap ( DirectHandle< NativeContext > native_context,
InstanceType type,
int instance_size,
ElementsKind elements_kind = TERMINAL_FAST_ELEMENTS_KIND,
int inobject_properties = 0,
AllocationType allocation_type = AllocationType::kMap )

Definition at line 2436 of file factory.cc.

Here is the call graph for this function:

◆ NewContextfulMapForCurrentContext()

Handle< Map > v8::internal::Factory::NewContextfulMapForCurrentContext ( InstanceType type,
int instance_size,
ElementsKind elements_kind = TERMINAL_FAST_ELEMENTS_KIND,
int inobject_properties = 0,
AllocationType allocation_type = AllocationType::kMap )

Definition at line 2455 of file factory.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ NewContextInternal()

Tagged< Context > v8::internal::Factory::NewContextInternal ( DirectHandle< Map > map,
int size,
int variadic_part_length,
AllocationType allocation )
private

Definition at line 1254 of file factory.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ NewContextlessMap()

Handle< Map > v8::internal::Factory::NewContextlessMap ( InstanceType type,
int instance_size,
ElementsKind elements_kind = TERMINAL_FAST_ELEMENTS_KIND,
int inobject_properties = 0,
AllocationType allocation_type = AllocationType::kMap )

Definition at line 2470 of file factory.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ NewContextSidePropertyCell()

DirectHandle< ContextSidePropertyCell > v8::internal::Factory::NewContextSidePropertyCell ( ContextSidePropertyCell::Property property,
AllocationType allocation = AllocationType::kOld )

Definition at line 2237 of file factory.cc.

Here is the call graph for this function:

◆ NewCopiedSubstring()

Handle< String > v8::internal::Factory::NewCopiedSubstring ( DirectHandle< String > str,
uint32_t begin,
uint32_t length )

Definition at line 1059 of file factory.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ NewDebugEvaluateContext()

Handle< Context > v8::internal::Factory::NewDebugEvaluateContext ( DirectHandle< Context > previous,
DirectHandle< ScopeInfo > scope_info,
DirectHandle< JSReceiver > extension,
DirectHandle< Context > wrapped )

Definition at line 1434 of file factory.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ NewDebugInfo()

Handle< DebugInfo > v8::internal::Factory::NewDebugInfo ( DirectHandle< SharedFunctionInfo > shared)

Definition at line 3975 of file factory.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ NewDictionaryTemplateInfo()

DirectHandle< DictionaryTemplateInfo > v8::internal::Factory::NewDictionaryTemplateInfo ( DirectHandle< FixedArray > property_names)

Definition at line 4704 of file factory.cc.

Here is the call graph for this function:

◆ NewEmbedderDataArray()

DirectHandle< EmbedderDataArray > v8::internal::Factory::NewEmbedderDataArray ( int length)

Definition at line 483 of file factory.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ NewEnumCache()

DirectHandle< EnumCache > v8::internal::Factory::NewEnumCache ( DirectHandle< FixedArray > keys,
DirectHandle< FixedArray > indices,
AllocationType allocation = AllocationType::kOld )

Definition at line 375 of file factory.cc.

Here is the call graph for this function:

◆ NewError() [1/3]

Handle< JSObject > v8::internal::Factory::NewError ( DirectHandle< JSFunction > constructor,
DirectHandle< String > message,
DirectHandle< Object > options = {} )

Definition at line 2799 of file factory.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ NewError() [2/3]

template<typename... Args>
requires ( std::conjunction_v<std::is_convertible<Args, DirectHandle<Object>>...>)
DirectHandle< JSObject > v8::internal::Factory::NewError ( DirectHandle< JSFunction > constructor,
MessageTemplate template_index,
Args... args )
inline

Definition at line 927 of file factory.h.

◆ NewError() [3/3]

Handle< JSObject > v8::internal::Factory::NewError ( DirectHandle< JSFunction > constructor,
MessageTemplate template_index,
base::Vector< const DirectHandle< Object > > args )

Definition at line 2790 of file factory.cc.

Here is the call graph for this function:

◆ NewErrorStackData()

DirectHandle< ErrorStackData > v8::internal::Factory::NewErrorStackData ( DirectHandle< UnionOf< JSAny, FixedArray > > call_site_infos_or_formatted_stack,
DirectHandle< StackTraceInfo > stack_trace )

Definition at line 1549 of file factory.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ NewExperimentalRegExpData()

DirectHandle< RegExpData > v8::internal::Factory::NewExperimentalRegExpData ( DirectHandle< String > source,
JSRegExp::Flags flags,
int capture_count )

Definition at line 4241 of file factory.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ NewExternal()

Handle< JSObject > v8::internal::Factory::NewExternal ( void * value,
AllocationType allocation = AllocationType::kYoung )

Definition at line 2902 of file factory.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ NewExternalStringFromOneByte()

MaybeHandle< String > v8::internal::Factory::NewExternalStringFromOneByte ( const v8::String::ExternalOneByteStringResource * resource)

Definition at line 1145 of file factory.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ NewExternalStringFromTwoByte()

MaybeHandle< String > v8::internal::Factory::NewExternalStringFromTwoByte ( const v8::String::ExternalStringResource * resource)

Definition at line 1169 of file factory.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ NewFastOrSlowJSObjectFromMap() [1/2]

Handle< JSObject > v8::internal::Factory::NewFastOrSlowJSObjectFromMap ( DirectHandle< Map > map)
inline

Definition at line 114 of file factory-inl.h.

Here is the call graph for this function:

◆ NewFastOrSlowJSObjectFromMap() [2/2]

Handle< JSObject > v8::internal::Factory::NewFastOrSlowJSObjectFromMap ( DirectHandle< Map > map,
int number_of_slow_properties,
AllocationType allocation = AllocationType::kYoung,
DirectHandle< AllocationSite > allocation_site = DirectHandle<AllocationSite>::null(),
NewJSObjectType new_js_object_type = NewJSObjectType::kNoAPIWrapper )
inline

Definition at line 101 of file factory-inl.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ NewFeedbackVector()

Handle< FeedbackVector > v8::internal::Factory::NewFeedbackVector ( DirectHandle< SharedFunctionInfo > shared,
DirectHandle< ClosureFeedbackCellArray > closure_feedback_cell_array,
DirectHandle< FeedbackCell > parent_feedback_cell )

Definition at line 453 of file factory.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ NewFillerObject()

DirectHandle< HeapObject > v8::internal::Factory::NewFillerObject ( int size,
AllocationAlignment alignment,
AllocationType allocation,
AllocationOrigin origin = AllocationOrigin::kRuntime )

Definition at line 352 of file factory.cc.

Here is the call graph for this function:

◆ NewFixedDoubleArrayWithHoles()

DirectHandle< FixedArrayBase > v8::internal::Factory::NewFixedDoubleArrayWithHoles ( int size)

Definition at line 501 of file factory.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ NewForeign()

template<ExternalPointerTag tag>
Handle< Foreign > v8::internal::Factory::NewForeign ( Address addr,
AllocationType allocation_type = AllocationType::kYoung )

Definition at line 120 of file factory-inl.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ NewForTest()

Tagged< HeapObject > v8::internal::Factory::NewForTest ( DirectHandle< Map > map,
AllocationType allocation )
inline

Definition at line 1083 of file factory.h.

◆ NewFunctionContext()

DirectHandle< Context > v8::internal::Factory::NewFunctionContext ( DirectHandle< Context > outer,
DirectHandle< ScopeInfo > scope_info )

Definition at line 1381 of file factory.cc.

Here is the call graph for this function:

◆ NewFunctionForTesting()

Handle< JSFunction > v8::internal::Factory::NewFunctionForTesting ( DirectHandle< String > name)

Definition at line 4547 of file factory.cc.

Here is the call graph for this function:

◆ NewFunctionPrototype()

DirectHandle< JSObject > v8::internal::Factory::NewFunctionPrototype ( DirectHandle< JSFunction > function)

Definition at line 2867 of file factory.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ NewFunctionTemplateInfo()

DirectHandle< FunctionTemplateInfo > v8::internal::Factory::NewFunctionTemplateInfo ( int length,
bool do_not_cache )

Definition at line 4645 of file factory.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ NewHeapNumberForCodeAssembler()

Handle< HeapNumber > v8::internal::Factory::NewHeapNumberForCodeAssembler ( double value)

Definition at line 2780 of file factory.cc.

Here is the call graph for this function:

◆ NewHole()

DirectHandle< Hole > v8::internal::Factory::NewHole ( )

Definition at line 406 of file factory.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ NewInterceptorInfo()

DirectHandle< InterceptorInfo > v8::internal::Factory::NewInterceptorInfo ( AllocationType allocation = AllocationType::kOld)

Definition at line 1530 of file factory.cc.

Here is the call graph for this function:

◆ NewInternalizedStringImpl()

DirectHandle< String > v8::internal::Factory::NewInternalizedStringImpl ( DirectHandle< String > string,
int len,
uint32_t hash_field )

Definition at line 932 of file factory.cc.

Here is the call graph for this function:

◆ NewInterpreterData()

DirectHandle< InterpreterData > v8::internal::Factory::NewInterpreterData ( DirectHandle< BytecodeArray > bytecode_array,
DirectHandle< Code > code )

Definition at line 3911 of file factory.cc.

Here is the call graph for this function:

◆ NewInvalidStringLengthError()

DirectHandle< Object > v8::internal::Factory::NewInvalidStringLengthError ( )

Definition at line 2820 of file factory.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ NewIrRegExpData()

DirectHandle< RegExpData > v8::internal::Factory::NewIrRegExpData ( DirectHandle< String > source,
JSRegExp::Flags flags,
int capture_count,
uint32_t backtrack_limit )

Definition at line 4209 of file factory.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ NewJSArray() [1/2]

Handle< JSArray > v8::internal::Factory::NewJSArray ( ElementsKind elements_kind,
int length,
int capacity,
ArrayStorageAllocationMode mode = ArrayStorageAllocationMode::DONT_INITIALIZE_ARRAY_ELEMENTS,
AllocationType allocation = AllocationType::kYoung )

Definition at line 3211 of file factory.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ NewJSArray() [2/2]

Handle< JSArray > v8::internal::Factory::NewJSArray ( int capacity,
ElementsKind elements_kind = TERMINAL_FAST_ELEMENTS_KIND,
AllocationType allocation = AllocationType::kYoung )
inline

Definition at line 689 of file factory.h.

Here is the call graph for this function:

◆ NewJSArrayBuffer()

Handle< JSArrayBuffer > v8::internal::Factory::NewJSArrayBuffer ( std::shared_ptr< BackingStore > backing_store,
AllocationType allocation = AllocationType::kYoung )

Definition at line 3491 of file factory.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ NewJSArrayBufferAndBackingStore() [1/2]

MaybeHandle< JSArrayBuffer > v8::internal::Factory::NewJSArrayBufferAndBackingStore ( size_t byte_length,
InitializedFlag initialized,
AllocationType allocation = AllocationType::kYoung )

Definition at line 3508 of file factory.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ NewJSArrayBufferAndBackingStore() [2/2]

MaybeHandle< JSArrayBuffer > v8::internal::Factory::NewJSArrayBufferAndBackingStore ( size_t byte_length,
size_t max_byte_length,
InitializedFlag initialized,
ResizableFlag resizable = ResizableFlag::kNotResizable,
AllocationType allocation = AllocationType::kYoung )

Definition at line 3516 of file factory.cc.

Here is the call graph for this function:

◆ NewJSArrayBufferView()

Handle< JSArrayBufferView > v8::internal::Factory::NewJSArrayBufferView ( DirectHandle< Map > map,
DirectHandle< FixedArrayBase > elements,
DirectHandle< JSArrayBuffer > buffer,
size_t byte_offset,
size_t byte_length )
private

Definition at line 3628 of file factory.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ NewJSArrayForTemplateLiteralArray()

DirectHandle< JSArray > v8::internal::Factory::NewJSArrayForTemplateLiteralArray ( DirectHandle< FixedArray > cooked_strings,
DirectHandle< FixedArray > raw_strings,
int function_literal_id,
int slot_id )

Definition at line 3264 of file factory.cc.

Here is the call graph for this function:

◆ NewJSArrayStorage() [1/2]

void v8::internal::Factory::NewJSArrayStorage ( DirectHandle< JSArray > array,
int length,
int capacity,
ArrayStorageAllocationMode mode = ArrayStorageAllocationMode::DONT_INITIALIZE_ARRAY_ELEMENTS )

Definition at line 3290 of file factory.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ NewJSArrayStorage() [2/2]

DirectHandle< FixedArrayBase > v8::internal::Factory::NewJSArrayStorage ( ElementsKind elements_kind,
int capacity,
ArrayStorageAllocationMode mode = ArrayStorageAllocationMode::DONT_INITIALIZE_ARRAY_ELEMENTS )
private

Definition at line 3311 of file factory.cc.

Here is the call graph for this function:

◆ NewJSArrayWithElements() [1/2]

Handle< JSArray > v8::internal::Factory::NewJSArrayWithElements ( DirectHandle< FixedArrayBase > elements,
ElementsKind elements_kind,
int length,
AllocationType allocation = AllocationType::kYoung )

Definition at line 3228 of file factory.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ NewJSArrayWithElements() [2/2]

Handle< JSArray > v8::internal::Factory::NewJSArrayWithElements ( DirectHandle< FixedArrayBase > elements,
ElementsKind elements_kind = TERMINAL_FAST_ELEMENTS_KIND,
AllocationType allocation = AllocationType::kYoung )
inline

Definition at line 94 of file factory-inl.h.

Here is the call graph for this function:

◆ NewJSArrayWithUnverifiedElements() [1/2]

Handle< JSArray > v8::internal::Factory::NewJSArrayWithUnverifiedElements ( DirectHandle< FixedArrayBase > elements,
ElementsKind elements_kind,
int length,
AllocationType allocation = AllocationType::kYoung )
private

Definition at line 3239 of file factory.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ NewJSArrayWithUnverifiedElements() [2/2]

Handle< JSArray > v8::internal::Factory::NewJSArrayWithUnverifiedElements ( DirectHandle< Map > map,
DirectHandle< FixedArrayBase > elements,
int length,
AllocationType allocation = AllocationType::kYoung )
private

Definition at line 3253 of file factory.cc.

Here is the call graph for this function:

◆ NewJSAsyncDisposableStack()

DirectHandle< JSAsyncDisposableStack > v8::internal::Factory::NewJSAsyncDisposableStack ( DirectHandle< Map > map)

Definition at line 3415 of file factory.cc.

Here is the call graph for this function:

◆ NewJSAsyncFromSyncIterator()

DirectHandle< JSAsyncFromSyncIterator > v8::internal::Factory::NewJSAsyncFromSyncIterator ( DirectHandle< JSReceiver > sync_iterator,
DirectHandle< Object > next )

Definition at line 3582 of file factory.cc.

Here is the call graph for this function:

◆ NewJSAtomicsCondition()

Handle< JSAtomicsCondition > v8::internal::Factory::NewJSAtomicsCondition ( )

Definition at line 4616 of file factory.cc.

Here is the call graph for this function:

◆ NewJSAtomicsMutex()

Handle< JSAtomicsMutex > v8::internal::Factory::NewJSAtomicsMutex ( )

Definition at line 4605 of file factory.cc.

Here is the call graph for this function:

◆ NewJSBoundFunction()

MaybeDirectHandle< JSBoundFunction > v8::internal::Factory::NewJSBoundFunction ( DirectHandle< JSReceiver > target_function,
DirectHandle< JSAny > bound_this,
base::Vector< DirectHandle< Object > > bound_args,
DirectHandle< JSPrototype > prototype )

Definition at line 3727 of file factory.cc.

Here is the call graph for this function:

◆ NewJSDataViewOrRabGsabDataView()

Handle< JSDataViewOrRabGsabDataView > v8::internal::Factory::NewJSDataViewOrRabGsabDataView ( DirectHandle< JSArrayBuffer > buffer,
size_t byte_offset,
size_t byte_length,
bool is_length_tracking = false )

Definition at line 3700 of file factory.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ NewJSDisposableStackBase()

DirectHandle< JSDisposableStackBase > v8::internal::Factory::NewJSDisposableStackBase ( )

Definition at line 3398 of file factory.cc.

Here is the call graph for this function:

◆ NewJSGeneratorObject()

DirectHandle< JSGeneratorObject > v8::internal::Factory::NewJSGeneratorObject ( DirectHandle< JSFunction > function)

Definition at line 3386 of file factory.cc.

Here is the call graph for this function:

◆ NewJSGlobalObject()

Handle< JSGlobalObject > v8::internal::Factory::NewJSGlobalObject ( DirectHandle< JSFunction > constructor)

Definition at line 3012 of file factory.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ NewJSIteratorResult()

DirectHandle< JSIteratorResult > v8::internal::Factory::NewJSIteratorResult ( DirectHandle< Object > value,
bool done )

Definition at line 3569 of file factory.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ NewJSMap()

DirectHandle< JSMap > v8::internal::Factory::NewJSMap ( )

Definition at line 3596 of file factory.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ NewJSMessageObject()

Handle< JSMessageObject > v8::internal::Factory::NewJSMessageObject ( MessageTemplate message,
DirectHandle< Object > argument,
int start_position,
int end_position,
DirectHandle< SharedFunctionInfo > shared_info,
int bytecode_offset,
DirectHandle< Script > script,
DirectHandle< StackTraceInfo > stack_trace = DirectHandle<StackTraceInfo>::null() )

Definition at line 3851 of file factory.cc.

Here is the call graph for this function:

◆ NewJSModuleNamespace()

DirectHandle< JSModuleNamespace > v8::internal::Factory::NewJSModuleNamespace ( )

Definition at line 3352 of file factory.cc.

Here is the call graph for this function:

◆ NewJSObject()

Handle< JSObject > v8::internal::Factory::NewJSObject ( DirectHandle< JSFunction > constructor,
AllocationType allocation = AllocationType::kYoung,
NewJSObjectType new_js_object_type = NewJSObjectType::kNoAPIWrapper )

Definition at line 2985 of file factory.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ NewJSObjectFromMap()

Handle< JSObject > v8::internal::Factory::NewJSObjectFromMap ( DirectHandle< Map > map,
AllocationType allocation = AllocationType::kYoung,
DirectHandle< AllocationSite > allocation_site = DirectHandle<AllocationSite>::null(),
NewJSObjectType new_js_object_type = NewJSObjectType::kNoAPIWrapper )

Definition at line 3135 of file factory.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ NewJSObjectWithNullProto()

Handle< JSObject > v8::internal::Factory::NewJSObjectWithNullProto ( )

Definition at line 3004 of file factory.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ NewJSPromise()

Handle< JSPromise > v8::internal::Factory::NewJSPromise ( )

Definition at line 4526 of file factory.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ NewJSPromiseWithoutHook()

Handle< JSPromise > v8::internal::Factory::NewJSPromiseWithoutHook ( )

Definition at line 4513 of file factory.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ NewJSProxy()

Handle< JSProxy > v8::internal::Factory::NewJSProxy ( DirectHandle< JSReceiver > target,
DirectHandle< JSReceiver > handler )

Definition at line 3776 of file factory.cc.

Here is the call graph for this function:

◆ NewJSSet()

DirectHandle< JSSet > v8::internal::Factory::NewJSSet ( )

Definition at line 3603 of file factory.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ NewJSSharedArray()

DirectHandle< JSSharedArray > v8::internal::Factory::NewJSSharedArray ( DirectHandle< JSFunction > constructor,
int length )

Definition at line 4590 of file factory.cc.

Here is the call graph for this function:

◆ NewJSSharedArrayBuffer()

Handle< JSArrayBuffer > v8::internal::Factory::NewJSSharedArrayBuffer ( std::shared_ptr< BackingStore > backing_store)

Definition at line 3553 of file factory.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ NewJSSharedStruct()

DirectHandle< JSSharedStruct > v8::internal::Factory::NewJSSharedStruct ( DirectHandle< JSFunction > constructor,
MaybeDirectHandle< NumberDictionary > maybe_elements_template )

Definition at line 4555 of file factory.cc.

Here is the call graph for this function:

◆ NewJSStringIterator()

DirectHandle< JSStringIterator > v8::internal::Factory::NewJSStringIterator ( Handle< String > string)

Definition at line 1193 of file factory.cc.

Here is the call graph for this function:

◆ NewJSSyncDisposableStack()

DirectHandle< JSSyncDisposableStack > v8::internal::Factory::NewJSSyncDisposableStack ( DirectHandle< Map > map)

Definition at line 3407 of file factory.cc.

Here is the call graph for this function:

◆ NewJSTypedArray()

Handle< JSTypedArray > v8::internal::Factory::NewJSTypedArray ( ExternalArrayType type,
DirectHandle< JSArrayBuffer > buffer,
size_t byte_offset,
size_t length,
bool is_length_tracking = false )

Definition at line 3656 of file factory.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ NewJSWeakMap()

Handle< JSWeakMap > v8::internal::Factory::NewJSWeakMap ( )

Definition at line 3338 of file factory.cc.

Here is the call graph for this function:

◆ NewJSWrappedFunction()

DirectHandle< JSWrappedFunction > v8::internal::Factory::NewJSWrappedFunction ( DirectHandle< NativeContext > creation_context,
DirectHandle< Object > target )

Definition at line 3365 of file factory.cc.

Here is the call graph for this function:

◆ NewLoadHandler()

Handle< LoadHandler > v8::internal::Factory::NewLoadHandler ( int data_count,
AllocationType allocation = AllocationType::kOld )

Definition at line 4122 of file factory.cc.

Here is the call graph for this function:

◆ NewManyClosuresCell()

DirectHandle< FeedbackCell > v8::internal::Factory::NewManyClosuresCell ( AllocationType allocation = AllocationType::kOld)

Definition at line 2204 of file factory.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ NewMap()

Handle< Map > v8::internal::Factory::NewMap ( DirectHandle< HeapObject > meta_map_holder,
InstanceType type,
int instance_size,
ElementsKind elements_kind = TERMINAL_FAST_ELEMENTS_KIND,
int inobject_properties = 0,
AllocationType allocation_type = AllocationType::kMap )

Definition at line 2385 of file factory.cc.

Here is the call graph for this function:

◆ NewMapImpl() [1/2]

template<typename MetaMapProviderFunc >
Handle< Map > v8::internal::Factory::NewMapImpl ( MetaMapProviderFunc && meta_map_provider,
InstanceType type,
int instance_size,
ElementsKind elements_kind,
int inobject_properties,
AllocationType allocation_type )

Definition at line 2299 of file factory.cc.

Here is the call graph for this function:

◆ NewMapImpl() [2/2]

template<typename MetaMapProviderFunc >
V8_INLINE Handle< Map > v8::internal::Factory::NewMapImpl ( MetaMapProviderFunc && meta_map_provider,
InstanceType type,
int instance_size,
ElementsKind elements_kind = TERMINAL_FAST_ELEMENTS_KIND,
int inobject_properties = 0,
AllocationType allocation_type = AllocationType::kMap )
private
Here is the caller graph for this function:

◆ NewMapWithMetaMap()

DirectHandle< Map > v8::internal::Factory::NewMapWithMetaMap ( DirectHandle< Map > meta_map,
InstanceType type,
int instance_size,
ElementsKind elements_kind = TERMINAL_FAST_ELEMENTS_KIND,
int inobject_properties = 0,
AllocationType allocation_type = AllocationType::kMap )

Definition at line 2401 of file factory.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ NewMegaDomHandler()

DirectHandle< MegaDomHandler > v8::internal::Factory::NewMegaDomHandler ( MaybeObjectDirectHandle accessor,
MaybeObjectDirectHandle context )

Definition at line 4111 of file factory.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ NewModuleContext()

DirectHandle< Context > v8::internal::Factory::NewModuleContext ( DirectHandle< SourceTextModule > module,
DirectHandle< NativeContext > outer,
DirectHandle< ScopeInfo > scope_info )

Definition at line 1364 of file factory.cc.

Here is the call graph for this function:

◆ NewNameDictionary()

DirectHandle< NameDictionary > v8::internal::Factory::NewNameDictionary ( int at_least_space_for)

Definition at line 568 of file factory.cc.

Here is the call graph for this function:

◆ NewNativeContext()

Handle< NativeContext > v8::internal::Factory::NewNativeContext ( )

Definition at line 1295 of file factory.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ NewNoClosuresCell()

DirectHandle< FeedbackCell > v8::internal::Factory::NewNoClosuresCell ( )

Definition at line 2175 of file factory.cc.

Here is the call graph for this function:

◆ NewObjectTemplateInfo()

DirectHandle< ObjectTemplateInfo > v8::internal::Factory::NewObjectTemplateInfo ( DirectHandle< FunctionTemplateInfo > constructor,
bool do_not_cache )

Definition at line 4682 of file factory.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ NewOneClosureCell()

DirectHandle< FeedbackCell > v8::internal::Factory::NewOneClosureCell ( DirectHandle< ClosureFeedbackCellArray > value)

Definition at line 2189 of file factory.cc.

Here is the call graph for this function:

◆ NewOrderedHashMap()

Handle< OrderedHashMap > v8::internal::Factory::NewOrderedHashMap ( )

Definition at line 562 of file factory.cc.

Here is the call graph for this function:

◆ NewOrderedHashSet()

Handle< OrderedHashSet > v8::internal::Factory::NewOrderedHashSet ( )

Definition at line 556 of file factory.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ NewPrivateNameSymbol()

DirectHandle< Symbol > v8::internal::Factory::NewPrivateNameSymbol ( DirectHandle< String > name)

Definition at line 1246 of file factory.cc.

Here is the call graph for this function:

◆ NewPrivateSymbol()

Handle< Symbol > v8::internal::Factory::NewPrivateSymbol ( AllocationType allocation = AllocationType::kOld)

Definition at line 1238 of file factory.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ NewPromiseResolveThenableJobTask()

DirectHandle< PromiseResolveThenableJobTask > v8::internal::Factory::NewPromiseResolveThenableJobTask ( DirectHandle< JSPromise > promise_to_resolve,
DirectHandle< JSReceiver > thenable,
DirectHandle< JSReceiver > then,
DirectHandle< Context > context )

Definition at line 1646 of file factory.cc.

Here is the call graph for this function:

◆ NewProperSubString()

Handle< String > v8::internal::Factory::NewProperSubString ( DirectHandle< String > str,
uint32_t begin,
uint32_t end )

Definition at line 1090 of file factory.cc.

Here is the call graph for this function:

◆ NewPropertyArray()

DirectHandle< PropertyArray > v8::internal::Factory::NewPropertyArray ( int length,
AllocationType allocation = AllocationType::kYoung )

Definition at line 413 of file factory.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ NewPropertyCell()

Handle< PropertyCell > v8::internal::Factory::NewPropertyCell ( DirectHandle< Name > name,
PropertyDetails details,
DirectHandle< Object > value,
AllocationType allocation = AllocationType::kOld )

Definition at line 2216 of file factory.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ NewPropertyDescriptorObject()

DirectHandle< PropertyDescriptorObject > v8::internal::Factory::NewPropertyDescriptorObject ( )

Definition at line 573 of file factory.cc.

Here is the call graph for this function:

◆ NewProtector()

DirectHandle< PropertyCell > v8::internal::Factory::NewProtector ( )

Definition at line 2251 of file factory.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ NewPrototypeInfo()

DirectHandle< PrototypeInfo > v8::internal::Factory::NewPrototypeInfo ( )

Definition at line 364 of file factory.cc.

Here is the call graph for this function:

◆ NewScriptContext()

DirectHandle< Context > v8::internal::Factory::NewScriptContext ( DirectHandle< NativeContext > outer,
DirectHandle< ScopeInfo > scope_info )

Definition at line 1335 of file factory.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ NewScriptContextTable()

Handle< ScriptContextTable > v8::internal::Factory::NewScriptContextTable ( )

Definition at line 1359 of file factory.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ NewSharedFunctionInfoForApiFunction()

Handle< SharedFunctionInfo > v8::internal::Factory::NewSharedFunctionInfoForApiFunction ( MaybeDirectHandle< String > maybe_name,
DirectHandle< FunctionTemplateInfo > function_template_info,
FunctionKind kind )

Definition at line 3895 of file factory.cc.

Here is the call graph for this function:

◆ NewSharedFunctionInfoForBuiltin()

Handle< SharedFunctionInfo > v8::internal::Factory::NewSharedFunctionInfoForBuiltin ( MaybeDirectHandle< String > name,
Builtin builtin,
int len,
AdaptArguments adapt,
FunctionKind kind = FunctionKind::kNormalFunction )

Definition at line 3904 of file factory.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ NewSlowJSObjectFromMap() [1/2]

Handle< JSObject > v8::internal::Factory::NewSlowJSObjectFromMap ( DirectHandle< Map > map)

Definition at line 3182 of file factory.cc.

Here is the call graph for this function:

◆ NewSlowJSObjectFromMap() [2/2]

Handle< JSObject > v8::internal::Factory::NewSlowJSObjectFromMap ( DirectHandle< Map > map,
int number_of_slow_properties,
AllocationType allocation = AllocationType::kYoung,
DirectHandle< AllocationSite > allocation_site = DirectHandle<AllocationSite>::null(),
NewJSObjectType new_js_object_type = NewJSObjectType::kNoAPIWrapper )

Definition at line 3165 of file factory.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ NewSlowJSObjectWithNullProto()

Handle< JSObject > v8::internal::Factory::NewSlowJSObjectWithNullProto ( )

Definition at line 2998 of file factory.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ NewSlowJSObjectWithPropertiesAndElements()

DirectHandle< JSObject > v8::internal::Factory::NewSlowJSObjectWithPropertiesAndElements ( DirectHandle< JSPrototype > prototype,
DirectHandle< HeapObject > properties,
DirectHandle< FixedArrayBase > elements )

Definition at line 3186 of file factory.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ NewSmallOrderedHashMap()

Handle< SmallOrderedHashMap > v8::internal::Factory::NewSmallOrderedHashMap ( int capacity = kSmallOrderedHashMapMinCapacity,
AllocationType allocation = AllocationType::kYoung )

Definition at line 541 of file factory.cc.

Here is the call graph for this function:

◆ NewSmallOrderedHashSet()

Handle< SmallOrderedHashSet > v8::internal::Factory::NewSmallOrderedHashSet ( int capacity = kSmallOrderedHashSetMinCapacity,
AllocationType allocation = AllocationType::kYoung )

Definition at line 535 of file factory.cc.

Here is the call graph for this function:

◆ NewSmallOrderedNameDictionary()

Handle< SmallOrderedNameDictionary > v8::internal::Factory::NewSmallOrderedNameDictionary ( int capacity = kSmallOrderedHashMapMinCapacity,
AllocationType allocation = AllocationType::kYoung )

Definition at line 547 of file factory.cc.

Here is the call graph for this function:

◆ NewSourceTextModule()

DirectHandle< SourceTextModule > v8::internal::Factory::NewSourceTextModule ( DirectHandle< SharedFunctionInfo > code)

Definition at line 3423 of file factory.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ NewStackFrameInfo()

DirectHandle< StackFrameInfo > v8::internal::Factory::NewStackFrameInfo ( DirectHandle< UnionOf< SharedFunctionInfo, Script > > shared_or_script,
int bytecode_offset_or_source_position,
DirectHandle< String > function_name,
bool is_constructor )

Definition at line 4031 of file factory.cc.

Here is the call graph for this function:

◆ NewStackTraceInfo()

Handle< StackTraceInfo > v8::internal::Factory::NewStackTraceInfo ( DirectHandle< FixedArray > frames)

Definition at line 4048 of file factory.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ NewStoreHandler()

Handle< StoreHandler > v8::internal::Factory::NewStoreHandler ( int data_count)

Definition at line 4141 of file factory.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ NewStringFromStaticChars()

template<size_t N>
Handle< String > v8::internal::Factory::NewStringFromStaticChars ( const char(&) str[N],
AllocationType allocation = AllocationType::kYoung )
inline

Definition at line 79 of file factory-inl.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ NewStringFromTwoByte() [1/3]

MaybeHandle< String > v8::internal::Factory::NewStringFromTwoByte ( base::Vector< const base::uc16 > str,
AllocationType allocation = AllocationType::kYoung )

Definition at line 906 of file factory.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ NewStringFromTwoByte() [2/3]

MaybeHandle< String > v8::internal::Factory::NewStringFromTwoByte ( const base::uc16 * string,
int length,
AllocationType allocation )
private

Definition at line 883 of file factory.cc.

Here is the call graph for this function:

◆ NewStringFromTwoByte() [3/3]

MaybeDirectHandle< String > v8::internal::Factory::NewStringFromTwoByte ( const ZoneVector< base::uc16 > * str,
AllocationType allocation = AllocationType::kYoung )

Definition at line 911 of file factory.cc.

Here is the call graph for this function:

◆ NewStringFromUtf8() [1/2]

MaybeHandle< String > v8::internal::Factory::NewStringFromUtf8 ( base::Vector< const char > str,
AllocationType allocation = AllocationType::kYoung )

Definition at line 753 of file factory.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ NewStringFromUtf8() [2/2]

MaybeHandle< String > v8::internal::Factory::NewStringFromUtf8 ( base::Vector< const uint8_t > str,
unibrow::Utf8Variant utf8_variant,
AllocationType allocation = AllocationType::kYoung )

Definition at line 740 of file factory.cc.

Here is the call graph for this function:

◆ NewStringFromUtf8SubString()

MaybeHandle< String > v8::internal::Factory::NewStringFromUtf8SubString ( Handle< SeqOneByteString > str,
int begin,
int end,
AllocationType allocation = AllocationType::kYoung )

Definition at line 828 of file factory.cc.

Here is the call graph for this function:

◆ NewSubString()

template<typename T , template< typename > typename HandleType>
requires (std::is_convertible_v<HandleType<T>, HandleType<String>>)
HandleType< String > v8::internal::Factory::NewSubString ( HandleType< T > str,
uint32_t begin,
uint32_t end )
inline

Definition at line 88 of file factory-inl.h.

Here is the caller graph for this function:

◆ NewSuppressedErrorAtDisposal()

DirectHandle< JSObject > v8::internal::Factory::NewSuppressedErrorAtDisposal ( Isolate * isolate,
DirectHandle< Object > error,
DirectHandle< Object > suppressed_error )

Definition at line 2831 of file factory.cc.

Here is the call graph for this function:

◆ NewSurrogatePairString()

DirectHandle< String > v8::internal::Factory::NewSurrogatePairString ( uint16_t lead,
uint16_t trail )

Definition at line 1043 of file factory.cc.

Here is the call graph for this function:

◆ NewSymbol()

Handle< Symbol > v8::internal::Factory::NewSymbol ( AllocationType allocation = AllocationType::kOld)

Definition at line 1234 of file factory.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ NewSymbolInternal()

Tagged< Symbol > v8::internal::Factory::NewSymbolInternal ( AllocationType allocation = AllocationType::kOld)
private

Definition at line 1208 of file factory.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ NewSyntheticModule()

Handle< SyntheticModule > v8::internal::Factory::NewSyntheticModule ( DirectHandle< String > module_name,
DirectHandle< FixedArray > export_names,
v8::Module::SyntheticModuleEvaluationSteps evaluation_steps )

Definition at line 3465 of file factory.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ NewTransitionArray()

DirectHandle< TransitionArray > v8::internal::Factory::NewTransitionArray ( int number_of_transitions,
int slack = 0 )

Definition at line 2257 of file factory.cc.

Here is the call graph for this function:

◆ NewTrustedForeign()

Handle< TrustedForeign > v8::internal::Factory::NewTrustedForeign ( Address addr)

Definition at line 4715 of file factory.cc.

Here is the call graph for this function:

◆ NewTuple2()

DirectHandle< Tuple2 > v8::internal::Factory::NewTuple2 ( DirectHandle< Object > value1,
DirectHandle< Object > value2,
AllocationType allocation )

Definition at line 396 of file factory.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ NewTuple2Uninitialized()

DirectHandle< Tuple2 > v8::internal::Factory::NewTuple2Uninitialized ( AllocationType allocation)

Definition at line 390 of file factory.cc.

Here is the call graph for this function:

◆ NewUninitializedJSGlobalProxy()

Handle< JSGlobalProxy > v8::internal::Factory::NewUninitializedJSGlobalProxy ( int size)

Definition at line 3793 of file factory.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ NewUninitializedWeakArrayList()

Handle< WeakArrayList > v8::internal::Factory::NewUninitializedWeakArrayList ( int capacity,
AllocationType allocation = AllocationType::kYoung )
private

Definition at line 2653 of file factory.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ NewURIError()

DirectHandle< Object > v8::internal::Factory::NewURIError ( )
inline

Definition at line 132 of file factory-inl.h.

Here is the call graph for this function:

◆ NewWeakArrayList()

DirectHandle< WeakArrayList > v8::internal::Factory::NewWeakArrayList ( int capacity,
AllocationType allocation = AllocationType::kYoung )

Definition at line 2669 of file factory.cc.

Here is the call graph for this function:

◆ NewWithContext()

Handle< Context > v8::internal::Factory::NewWithContext ( DirectHandle< Context > previous,
DirectHandle< ScopeInfo > scope_info,
DirectHandle< JSReceiver > extension )

Definition at line 1458 of file factory.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ NumberToStringCacheGet()

Handle< Object > v8::internal::Factory::NumberToStringCacheGet ( Tagged< Object > number,
int hash )
private

Definition at line 177 of file factory-inl.h.

Here is the call graph for this function:

◆ NumberToStringCacheHash() [1/2]

int v8::internal::Factory::NumberToStringCacheHash ( double number)
private

Definition at line 3929 of file factory.cc.

Here is the call graph for this function:

◆ NumberToStringCacheHash() [2/2]

int v8::internal::Factory::NumberToStringCacheHash ( Tagged< Smi > number)
private

Definition at line 3924 of file factory.cc.

◆ NumberToStringCacheSet()

void v8::internal::Factory::NumberToStringCacheSet ( DirectHandle< Object > number,
int hash,
DirectHandle< String > js_string )
private

Definition at line 159 of file factory-inl.h.

Here is the call graph for this function:

◆ ObjectLiteralMapFromCache()

Handle< Map > v8::internal::Factory::ObjectLiteralMapFromCache ( DirectHandle< NativeContext > native_context,
int number_of_properties )

Definition at line 4083 of file factory.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ProcessNewScript()

void v8::internal::Factory::ProcessNewScript ( DirectHandle< Script > shared,
ScriptEventType script_event_type )
private

Definition at line 1561 of file factory.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ read_only_roots()

ReadOnlyRoots v8::internal::Factory::read_only_roots ( ) const
inline

Definition at line 137 of file factory-inl.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ReinitializeJSGlobalProxy()

void v8::internal::Factory::ReinitializeJSGlobalProxy ( DirectHandle< JSGlobalProxy > global,
DirectHandle< JSFunction > constructor )

Definition at line 3814 of file factory.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetRegExpAtomData()

void v8::internal::Factory::SetRegExpAtomData ( DirectHandle< JSRegExp > regexp,
DirectHandle< String > source,
JSRegExp::Flags flags,
DirectHandle< String > match_pattern )

Definition at line 4162 of file factory.cc.

Here is the call graph for this function:

◆ SetRegExpExperimentalData()

void v8::internal::Factory::SetRegExpExperimentalData ( DirectHandle< JSRegExp > regexp,
DirectHandle< String > source,
JSRegExp::Flags flags,
int capture_count )

Definition at line 4180 of file factory.cc.

Here is the call graph for this function:

◆ SetRegExpIrregexpData()

void v8::internal::Factory::SetRegExpIrregexpData ( DirectHandle< JSRegExp > regexp,
DirectHandle< String > source,
JSRegExp::Flags flags,
int capture_count,
uint32_t backtrack_limit )

Definition at line 4171 of file factory.cc.

Here is the call graph for this function:

◆ ShadowRealmNewTypeErrorCopy() [1/2]

template<typename... Args>
requires ( std::conjunction_v<std::is_convertible<Args, DirectHandle<Object>>...>)
DirectHandle< JSObject > v8::internal::Factory::ShadowRealmNewTypeErrorCopy ( DirectHandle< Object > original,
MessageTemplate template_index,
Args... args )
inline

Definition at line 942 of file factory.h.

◆ ShadowRealmNewTypeErrorCopy() [2/2]

DirectHandle< JSObject > v8::internal::Factory::ShadowRealmNewTypeErrorCopy ( DirectHandle< Object > original,
MessageTemplate template_index,
base::Vector< const DirectHandle< Object > > args )

Definition at line 2813 of file factory.cc.

Here is the call graph for this function:

◆ SizeToString()

Handle< String > v8::internal::Factory::SizeToString ( size_t value,
bool check_cache = true )

Definition at line 3935 of file factory.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ToPrimitiveHintString()

DirectHandle< String > v8::internal::Factory::ToPrimitiveHintString ( ToPrimitiveHint hint)

Definition at line 4284 of file factory.cc.

Here is the call graph for this function:

◆ TryNewFixedArray()

MaybeHandle< FixedArray > v8::internal::Factory::TryNewFixedArray ( int length,
AllocationType allocation = AllocationType::kYoung )

Definition at line 428 of file factory.cc.

Here is the call graph for this function:

◆ TypeAndSizeForElementsKind()

void v8::internal::Factory::TypeAndSizeForElementsKind ( ElementsKind kind,
ExternalArrayType * array_type,
size_t * element_size )
static

Definition at line 3610 of file factory.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Uint32ToString()

DirectHandle< String > v8::internal::Factory::Uint32ToString ( uint32_t value,
bool check_cache = true )
inline

Definition at line 978 of file factory.h.

Friends And Related Symbol Documentation

◆ FactoryBase< Factory >

friend class FactoryBase< Factory >
friend

Definition at line 1144 of file factory.h.


The documentation for this class was generated from the following files: