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

#include <isolate.h>

Inheritance diagram for v8::internal::HiddenFactory:
Collaboration diagram for v8::internal::HiddenFactory:

Additional Inherited Members

- Private Member Functions inherited from v8::internal::Factory
ReadOnlyRoots read_only_roots () const
 
DirectHandle< Hole > NewHole ()
 
DirectHandle< PropertyArray > NewPropertyArray (int length, AllocationType allocation=AllocationType::kYoung)
 
V8_WARN_UNUSED_RESULT MaybeHandle< FixedArray > TryNewFixedArray (int length, AllocationType allocation=AllocationType::kYoung)
 
Handle< FeedbackVector > NewFeedbackVector (DirectHandle< SharedFunctionInfo > shared, DirectHandle< ClosureFeedbackCellArray > closure_feedback_cell_array, DirectHandle< FeedbackCell > parent_feedback_cell)
 
DirectHandle< EmbedderDataArray > NewEmbedderDataArray (int length)
 
DirectHandle< FixedArrayBase > NewFixedDoubleArrayWithHoles (int size)
 
DirectHandle< NameDictionary > NewNameDictionary (int at_least_space_for)
 
Handle< OrderedHashSet > NewOrderedHashSet ()
 
Handle< OrderedHashMap > NewOrderedHashMap ()
 
Handle< SmallOrderedHashSet > NewSmallOrderedHashSet (int capacity=kSmallOrderedHashSetMinCapacity, AllocationType allocation=AllocationType::kYoung)
 
Handle< SmallOrderedHashMap > NewSmallOrderedHashMap (int capacity=kSmallOrderedHashMapMinCapacity, AllocationType allocation=AllocationType::kYoung)
 
Handle< SmallOrderedNameDictionary > NewSmallOrderedNameDictionary (int capacity=kSmallOrderedHashMapMinCapacity, AllocationType allocation=AllocationType::kYoung)
 
DirectHandle< SwissNameDictionary > CreateCanonicalEmptySwissNameDictionary ()
 
DirectHandle< PrototypeInfo > NewPrototypeInfo ()
 
DirectHandle< EnumCache > NewEnumCache (DirectHandle< FixedArray > keys, DirectHandle< FixedArray > indices, AllocationType allocation=AllocationType::kOld)
 
DirectHandle< Tuple2 > NewTuple2Uninitialized (AllocationType allocation)
 
DirectHandle< Tuple2 > NewTuple2 (DirectHandle< Object > value1, DirectHandle< Object > value2, AllocationType allocation)
 
DirectHandle< PropertyDescriptorObject > NewPropertyDescriptorObject ()
 
Handle< String > InternalizeUtf8String (base::Vector< const char > str)
 
Handle< String > InternalizeUtf8String (const char *str)
 
Handle< String > InternalizeString (base::Vector< const char > str, bool convert_encoding=false)
 
Handle< String > InternalizeString (const char *str, bool convert_encoding=false)
 
template<typename SeqString , template< typename > typename HandleType>
requires ( std::is_convertible_v<HandleType<SeqString>, DirectHandle<SeqString>>)
Handle< String > InternalizeSubString (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< String > InternalizeString (Handle< T > string)
 
template<typename T >
requires (std::is_convertible_v<Handle<T>, Handle<Name>>)
Handle< Name > InternalizeName (Handle< T > name)
 
template<typename T >
requires (std::is_convertible_v<DirectHandle<T>, DirectHandle<String>>)
DirectHandle< String > InternalizeString (DirectHandle< T > string)
 
template<typename T >
requires (std::is_convertible_v<DirectHandle<T>, DirectHandle<Name>>)
DirectHandle< Name > InternalizeName (DirectHandle< T > name)
 
template<size_t N>
Handle< String > NewStringFromStaticChars (const char(&str)[N], AllocationType allocation=AllocationType::kYoung)
 
V8_WARN_UNUSED_RESULT MaybeHandle< String > NewStringFromUtf8 (base::Vector< const char > str, AllocationType allocation=AllocationType::kYoung)
 
V8_WARN_UNUSED_RESULT MaybeHandle< String > NewStringFromUtf8 (base::Vector< const uint8_t > str, unibrow::Utf8Variant utf8_variant, AllocationType allocation=AllocationType::kYoung)
 
V8_WARN_UNUSED_RESULT MaybeHandle< String > NewStringFromUtf8SubString (Handle< SeqOneByteString > str, int begin, int end, AllocationType allocation=AllocationType::kYoung)
 
V8_WARN_UNUSED_RESULT MaybeHandle< String > NewStringFromTwoByte (base::Vector< const base::uc16 > str, AllocationType allocation=AllocationType::kYoung)
 
V8_WARN_UNUSED_RESULT MaybeDirectHandle< String > NewStringFromTwoByte (const ZoneVector< base::uc16 > *str, AllocationType allocation=AllocationType::kYoung)
 
DirectHandle< JSStringIterator > NewJSStringIterator (Handle< String > string)
 
DirectHandle< String > NewInternalizedStringImpl (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< String > NewSurrogatePairString (uint16_t lead, uint16_t trail)
 
Handle< String > NewProperSubString (DirectHandle< String > str, uint32_t begin, uint32_t end)
 
Handle< String > NewCopiedSubstring (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< String > NewSubString (HandleType< T > str, uint32_t begin, uint32_t end)
 
V8_WARN_UNUSED_RESULT MaybeHandle< String > NewExternalStringFromOneByte (const v8::String::ExternalOneByteStringResource *resource)
 
V8_WARN_UNUSED_RESULT MaybeHandle< String > NewExternalStringFromTwoByte (const v8::String::ExternalStringResource *resource)
 
Handle< Symbol > NewSymbol (AllocationType allocation=AllocationType::kOld)
 
Handle< Symbol > NewPrivateSymbol (AllocationType allocation=AllocationType::kOld)
 
DirectHandle< Symbol > NewPrivateNameSymbol (DirectHandle< String > name)
 
Handle< NativeContext > NewNativeContext ()
 
DirectHandle< Context > NewScriptContext (DirectHandle< NativeContext > outer, DirectHandle< ScopeInfo > scope_info)
 
Handle< ScriptContextTable > NewScriptContextTable ()
 
DirectHandle< Context > NewModuleContext (DirectHandle< SourceTextModule > module, DirectHandle< NativeContext > outer, DirectHandle< ScopeInfo > scope_info)
 
DirectHandle< Context > NewFunctionContext (DirectHandle< Context > outer, DirectHandle< ScopeInfo > scope_info)
 
DirectHandle< Context > NewCatchContext (DirectHandle< Context > previous, DirectHandle< ScopeInfo > scope_info, DirectHandle< Object > thrown_object)
 
Handle< Context > NewWithContext (DirectHandle< Context > previous, DirectHandle< ScopeInfo > scope_info, DirectHandle< JSReceiver > extension)
 
Handle< Context > NewDebugEvaluateContext (DirectHandle< Context > previous, DirectHandle< ScopeInfo > scope_info, DirectHandle< JSReceiver > extension, DirectHandle< Context > wrapped)
 
DirectHandle< Context > NewBlockContext (DirectHandle< Context > previous, DirectHandle< ScopeInfo > scope_info)
 
DirectHandle< Context > NewBuiltinContext (DirectHandle< NativeContext > native_context, int length)
 
DirectHandle< AliasedArgumentsEntry > NewAliasedArgumentsEntry (int aliased_context_slot)
 
DirectHandle< AccessorInfo > NewAccessorInfo ()
 
DirectHandle< InterceptorInfo > NewInterceptorInfo (AllocationType allocation=AllocationType::kOld)
 
DirectHandle< ErrorStackData > NewErrorStackData (DirectHandle< UnionOf< JSAny, FixedArray > > call_site_infos_or_formatted_stack, DirectHandle< StackTraceInfo > stack_trace)
 
Handle< Script > CloneScript (DirectHandle< Script > script, DirectHandle< String > source)
 
DirectHandle< BreakPointInfo > NewBreakPointInfo (int source_position)
 
Handle< BreakPoint > NewBreakPoint (int id, DirectHandle< String > condition)
 
Handle< CallSiteInfo > 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)
 
DirectHandle< StackFrameInfo > NewStackFrameInfo (DirectHandle< UnionOf< SharedFunctionInfo, Script > > shared_or_script, int bytecode_offset_or_source_position, DirectHandle< String > function_name, bool is_constructor)
 
Handle< StackTraceInfo > NewStackTraceInfo (DirectHandle< FixedArray > frames)
 
DirectHandle< CallableTask > NewCallableTask (DirectHandle< JSReceiver > callable, DirectHandle< Context > context)
 
DirectHandle< CallbackTask > NewCallbackTask (DirectHandle< Foreign > callback, DirectHandle< Foreign > data)
 
DirectHandle< PromiseResolveThenableJobTask > NewPromiseResolveThenableJobTask (DirectHandle< JSPromise > promise_to_resolve, DirectHandle< JSReceiver > thenable, DirectHandle< JSReceiver > then, DirectHandle< Context > context)
 
template<ExternalPointerTag tag>
Handle< Foreign > NewForeign (Address addr, AllocationType allocation_type=AllocationType::kYoung)
 
Handle< TrustedForeign > NewTrustedForeign (Address addr)
 
Handle< Cell > NewCell (Tagged< Smi > value)
 
Handle< Cell > NewCell ()
 
Handle< PropertyCell > NewPropertyCell (DirectHandle< Name > name, PropertyDetails details, DirectHandle< Object > value, AllocationType allocation=AllocationType::kOld)
 
DirectHandle< ContextSidePropertyCell > NewContextSidePropertyCell (ContextSidePropertyCell::Property property, AllocationType allocation=AllocationType::kOld)
 
DirectHandle< PropertyCell > NewProtector ()
 
DirectHandle< FeedbackCell > NewNoClosuresCell ()
 
DirectHandle< FeedbackCell > NewOneClosureCell (DirectHandle< ClosureFeedbackCellArray > value)
 
DirectHandle< FeedbackCell > NewManyClosuresCell (AllocationType allocation=AllocationType::kOld)
 
DirectHandle< TransitionArray > NewTransitionArray (int number_of_transitions, int slack=0)
 
Handle< AllocationSite > NewAllocationSite (bool with_weak_next)
 
Handle< Map > 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)
 
DirectHandle< Map > 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)
 
DirectHandle< Map > 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)
 
DirectHandle< Map > 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)
 
Handle< Map > NewContextfulMapForCurrentContext (InstanceType type, int instance_size, ElementsKind elements_kind=TERMINAL_FAST_ELEMENTS_KIND, int inobject_properties=0, AllocationType allocation_type=AllocationType::kMap)
 
Handle< Map > NewContextlessMap (InstanceType type, int instance_size, ElementsKind elements_kind=TERMINAL_FAST_ELEMENTS_KIND, int inobject_properties=0, AllocationType allocation_type=AllocationType::kMap)
 
Tagged< Map > InitializeMap (Tagged< Map > map, InstanceType type, int instance_size, ElementsKind elements_kind, int inobject_properties, ReadOnlyRoots roots)
 
DirectHandle< HeapObject > NewFillerObject (int size, AllocationAlignment alignment, AllocationType allocation, AllocationOrigin origin=AllocationOrigin::kRuntime)
 
DirectHandle< JSObject > NewFunctionPrototype (DirectHandle< JSFunction > function)
 
Handle< JSObject > CopyJSObject (DirectHandle< JSObject > object)
 
Handle< JSObject > CopyJSObjectWithAllocationSite (DirectHandle< JSObject > object, DirectHandle< AllocationSite > site)
 
Handle< FixedArray > CopyFixedArrayWithMap (DirectHandle< FixedArray > array, DirectHandle< Map > map, AllocationType allocation=AllocationType::kYoung)
 
Handle< FixedArray > CopyFixedArrayAndGrow (DirectHandle< FixedArray > array, int grow_by, AllocationType allocation=AllocationType::kYoung)
 
DirectHandle< WeakArrayList > NewWeakArrayList (int capacity, AllocationType allocation=AllocationType::kYoung)
 
DirectHandle< WeakFixedArray > CopyWeakFixedArray (DirectHandle< WeakFixedArray > array)
 
DirectHandle< WeakFixedArray > CopyWeakFixedArrayAndGrow (DirectHandle< WeakFixedArray > array, int grow_by)
 
Handle< WeakArrayList > CopyWeakArrayListAndGrow (DirectHandle< WeakArrayList > array, int grow_by, AllocationType allocation=AllocationType::kYoung)
 
DirectHandle< WeakArrayList > CompactWeakArrayList (DirectHandle< WeakArrayList > array, int new_capacity, AllocationType allocation=AllocationType::kYoung)
 
DirectHandle< PropertyArray > CopyPropertyArrayAndGrow (DirectHandle< PropertyArray > array, int grow_by)
 
Handle< FixedArray > CopyFixedArrayUpTo (DirectHandle< FixedArray > array, int new_len, AllocationType allocation=AllocationType::kYoung)
 
Handle< FixedArray > CopyFixedArray (Handle< FixedArray > array)
 
Handle< FixedDoubleArray > CopyFixedDoubleArray (Handle< FixedDoubleArray > array)
 
Handle< HeapNumber > NewHeapNumberForCodeAssembler (double value)
 
Handle< JSObject > NewArgumentsObject (DirectHandle< JSFunction > callee, int length)
 
Handle< JSObject > NewJSObject (DirectHandle< JSFunction > constructor, AllocationType allocation=AllocationType::kYoung, NewJSObjectType=NewJSObjectType::kNoAPIWrapper)
 
Handle< JSObject > NewJSObjectWithNullProto ()
 
Handle< JSObject > NewSlowJSObjectWithNullProto ()
 
Handle< JSGlobalObject > NewJSGlobalObject (DirectHandle< JSFunction > constructor)
 
Handle< JSObject > NewJSObjectFromMap (DirectHandle< Map > map, AllocationType allocation=AllocationType::kYoung, DirectHandle< AllocationSite > allocation_site=DirectHandle< AllocationSite >::null(), NewJSObjectType=NewJSObjectType::kNoAPIWrapper)
 
Handle< JSObject > NewSlowJSObjectFromMap (DirectHandle< Map > map, int number_of_slow_properties, AllocationType allocation=AllocationType::kYoung, DirectHandle< AllocationSite > allocation_site=DirectHandle< AllocationSite >::null(), NewJSObjectType=NewJSObjectType::kNoAPIWrapper)
 
Handle< JSObject > NewSlowJSObjectFromMap (DirectHandle< Map > map)
 
Handle< JSObject > NewFastOrSlowJSObjectFromMap (DirectHandle< Map > map, int number_of_slow_properties, AllocationType allocation=AllocationType::kYoung, DirectHandle< AllocationSite > allocation_site=DirectHandle< AllocationSite >::null(), NewJSObjectType=NewJSObjectType::kNoAPIWrapper)
 
Handle< JSObject > NewFastOrSlowJSObjectFromMap (DirectHandle< Map > map)
 
DirectHandle< JSObject > NewSlowJSObjectWithPropertiesAndElements (DirectHandle< JSPrototype > prototype, DirectHandle< HeapObject > properties, DirectHandle< FixedArrayBase > elements)
 
Handle< JSArray > NewJSArray (ElementsKind elements_kind, int length, int capacity, ArrayStorageAllocationMode mode=ArrayStorageAllocationMode::DONT_INITIALIZE_ARRAY_ELEMENTS, AllocationType allocation=AllocationType::kYoung)
 
Handle< JSArray > NewJSArray (int capacity, ElementsKind elements_kind=TERMINAL_FAST_ELEMENTS_KIND, AllocationType allocation=AllocationType::kYoung)
 
Handle< JSArray > NewJSArrayWithElements (DirectHandle< FixedArrayBase > elements, ElementsKind elements_kind, int length, AllocationType allocation=AllocationType::kYoung)
 
Handle< JSArray > NewJSArrayWithElements (DirectHandle< FixedArrayBase > elements, ElementsKind elements_kind=TERMINAL_FAST_ELEMENTS_KIND, AllocationType allocation=AllocationType::kYoung)
 
DirectHandle< JSArray > NewJSArrayForTemplateLiteralArray (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< JSWeakMap > NewJSWeakMap ()
 
DirectHandle< JSGeneratorObject > NewJSGeneratorObject (DirectHandle< JSFunction > function)
 
DirectHandle< JSModuleNamespace > NewJSModuleNamespace ()
 
DirectHandle< JSWrappedFunction > NewJSWrappedFunction (DirectHandle< NativeContext > creation_context, DirectHandle< Object > target)
 
DirectHandle< JSDisposableStackBase > NewJSDisposableStackBase ()
 
DirectHandle< JSSyncDisposableStack > NewJSSyncDisposableStack (DirectHandle< Map > map)
 
DirectHandle< JSAsyncDisposableStack > NewJSAsyncDisposableStack (DirectHandle< Map > map)
 
DirectHandle< SourceTextModule > NewSourceTextModule (DirectHandle< SharedFunctionInfo > code)
 
Handle< SyntheticModule > NewSyntheticModule (DirectHandle< String > module_name, DirectHandle< FixedArray > export_names, v8::Module::SyntheticModuleEvaluationSteps evaluation_steps)
 
Handle< JSArrayBuffer > NewJSArrayBuffer (std::shared_ptr< BackingStore > backing_store, AllocationType allocation=AllocationType::kYoung)
 
MaybeHandle< JSArrayBuffer > NewJSArrayBufferAndBackingStore (size_t byte_length, InitializedFlag initialized, AllocationType allocation=AllocationType::kYoung)
 
MaybeHandle< JSArrayBuffer > NewJSArrayBufferAndBackingStore (size_t byte_length, size_t max_byte_length, InitializedFlag initialized, ResizableFlag resizable=ResizableFlag::kNotResizable, AllocationType allocation=AllocationType::kYoung)
 
Handle< JSArrayBuffer > NewJSSharedArrayBuffer (std::shared_ptr< BackingStore > backing_store)
 
Handle< JSTypedArray > NewJSTypedArray (ExternalArrayType type, DirectHandle< JSArrayBuffer > buffer, size_t byte_offset, size_t length, bool is_length_tracking=false)
 
Handle< JSDataViewOrRabGsabDataView > NewJSDataViewOrRabGsabDataView (DirectHandle< JSArrayBuffer > buffer, size_t byte_offset, size_t byte_length, bool is_length_tracking=false)
 
DirectHandle< JSIteratorResult > NewJSIteratorResult (DirectHandle< Object > value, bool done)
 
DirectHandle< JSAsyncFromSyncIterator > NewJSAsyncFromSyncIterator (DirectHandle< JSReceiver > sync_iterator, DirectHandle< Object > next)
 
DirectHandle< JSMap > NewJSMap ()
 
DirectHandle< JSSet > NewJSSet ()
 
MaybeDirectHandle< JSBoundFunction > NewJSBoundFunction (DirectHandle< JSReceiver > target_function, DirectHandle< JSAny > bound_this, base::Vector< DirectHandle< Object > > bound_args, DirectHandle< JSPrototype > prototype)
 
Handle< JSProxy > NewJSProxy (DirectHandle< JSReceiver > target, DirectHandle< JSReceiver > handler)
 
void ReinitializeJSGlobalProxy (DirectHandle< JSGlobalProxy > global, DirectHandle< JSFunction > constructor)
 
Handle< JSGlobalProxy > NewUninitializedJSGlobalProxy (int size)
 
Handle< JSFunction > NewFunctionForTesting (DirectHandle< String > name)
 
Handle< JSObject > NewExternal (void *value, AllocationType allocation=AllocationType::kYoung)
 
DirectHandle< Code > NewCodeObjectForEmbeddedBuiltin (DirectHandle< Code > code, Address off_heap_entry)
 
DirectHandle< BytecodeArray > CopyBytecodeArray (DirectHandle< BytecodeArray >)
 
Handle< JSObject > NewError (DirectHandle< JSFunction > constructor, DirectHandle< String > message, DirectHandle< Object > options={})
 
DirectHandle< Object > NewInvalidStringLengthError ()
 
DirectHandle< Object > NewURIError ()
 
Handle< JSObject > NewError (DirectHandle< JSFunction > constructor, MessageTemplate template_index, base::Vector< const DirectHandle< Object > > args)
 
DirectHandle< JSObject > NewSuppressedErrorAtDisposal (Isolate *isolate, DirectHandle< Object > error, DirectHandle< Object > suppressed_error)
 
template<typename... Args>
requires ( std::conjunction_v<std::is_convertible<Args, DirectHandle<Object>>...>)
DirectHandle< JSObject > NewError (DirectHandle< JSFunction > constructor, MessageTemplate template_index, Args... args)
 
DirectHandle< JSObject > ShadowRealmNewTypeErrorCopy (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< JSObject > ShadowRealmNewTypeErrorCopy (DirectHandle< Object > original, MessageTemplate template_index, Args... args)
 
Handle< String > SizeToString (size_t value, bool check_cache=true)
 
DirectHandle< String > Uint32ToString (uint32_t value, bool check_cache=true)
 
Handle< SharedFunctionInfo > NewSharedFunctionInfoForApiFunction (MaybeDirectHandle< String > maybe_name, DirectHandle< FunctionTemplateInfo > function_template_info, FunctionKind kind)
 
Handle< SharedFunctionInfo > NewSharedFunctionInfoForBuiltin (MaybeDirectHandle< String > name, Builtin builtin, int len, AdaptArguments adapt, FunctionKind kind=FunctionKind::kNormalFunction)
 
DirectHandle< InterpreterData > NewInterpreterData (DirectHandle< BytecodeArray > bytecode_array, DirectHandle< Code > code)
 
DirectHandle< Map > CreateSloppyFunctionMap (FunctionMode function_mode, MaybeDirectHandle< JSFunction > maybe_empty_function)
 
DirectHandle< Map > CreateStrictFunctionMap (FunctionMode function_mode, DirectHandle< JSFunction > empty_function)
 
DirectHandle< Map > CreateClassFunctionMap (DirectHandle< JSFunction > empty_function)
 
Handle< JSMessageObject > 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())
 
Handle< DebugInfo > NewDebugInfo (DirectHandle< SharedFunctionInfo > shared)
 
Handle< Map > ObjectLiteralMapFromCache (DirectHandle< NativeContext > native_context, int number_of_properties)
 
Handle< LoadHandler > NewLoadHandler (int data_count, AllocationType allocation=AllocationType::kOld)
 
Handle< StoreHandler > NewStoreHandler (int data_count)
 
DirectHandle< MegaDomHandler > NewMegaDomHandler (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< RegExpData > NewAtomRegExpData (DirectHandle< String > source, JSRegExp::Flags flags, DirectHandle< String > pattern)
 
DirectHandle< RegExpData > NewIrRegExpData (DirectHandle< String > source, JSRegExp::Flags flags, int capture_count, uint32_t backtrack_limit)
 
DirectHandle< RegExpData > NewExperimentalRegExpData (DirectHandle< String > source, JSRegExp::Flags flags, int capture_count)
 
DirectHandle< Object > GlobalConstantFor (DirectHandle< Name > name)
 
DirectHandle< String > ToPrimitiveHintString (ToPrimitiveHint hint)
 
Handle< JSPromise > NewJSPromiseWithoutHook ()
 
Handle< JSPromise > NewJSPromise ()
 
Tagged< HeapObject > NewForTest (DirectHandle< Map > map, AllocationType allocation)
 
DirectHandle< JSSharedStruct > NewJSSharedStruct (DirectHandle< JSFunction > constructor, MaybeDirectHandle< NumberDictionary > maybe_elements_template)
 
DirectHandle< JSSharedArray > NewJSSharedArray (DirectHandle< JSFunction > constructor, int length)
 
Handle< JSAtomicsMutex > NewJSAtomicsMutex ()
 
Handle< JSAtomicsCondition > NewJSAtomicsCondition ()
 
DirectHandle< FunctionTemplateInfo > NewFunctionTemplateInfo (int length, bool do_not_cache)
 
DirectHandle< ObjectTemplateInfo > NewObjectTemplateInfo (DirectHandle< FunctionTemplateInfo > constructor, bool do_not_cache)
 
DirectHandle< DictionaryTemplateInfo > NewDictionaryTemplateInfo (DirectHandle< FixedArray > property_names)
 
template<typename MetaMapProviderFunc >
Handle< Map > NewMapImpl (MetaMapProviderFunc &&meta_map_provider, InstanceType type, int instance_size, ElementsKind elements_kind, int inobject_properties, AllocationType allocation_type)
 
Handle< String > InternalizeString (base::Vector< const uint8_t > string, bool convert_encoding=false)
 
Handle< String > InternalizeString (base::Vector< const uint16_t > string, bool convert_encoding=false)
 
- Private Member Functions inherited from v8::internal::FactoryBase< Factory >
Handle< Code > NewCode (const NewCodeOptions &options)
 
DirectHandle< CodeWrapper > NewCodeWrapper ()
 
Handle< Boolean > ToBoolean (bool value)
 
Handle< Number > NewNumber (double value)
 
Handle< Number > NewNumberFromInt (int32_t value)
 
Handle< Number > NewNumberFromUint (uint32_t value)
 
DirectHandle< Number > NewNumberFromSize (size_t value)
 
DirectHandle< Number > NewNumberFromInt64 (int64_t value)
 
Handle< HeapNumber > NewHeapNumber (double value)
 
Handle< HeapNumber > NewHeapNumber ()
 
Handle< HeapNumber > NewHeapNumberFromBits (uint64_t bits)
 
Handle< HeapNumber > NewHeapNumberWithHoleNaN ()
 
Handle< HeapNumber > NewHeapInt32 (int32_t value)
 
Handle< Struct > NewStruct (InstanceType type, AllocationType allocation=AllocationType::kYoung)
 
Handle< AccessorPair > NewAccessorPair ()
 
Handle< FixedArray > NewFixedArray (int length, AllocationType allocation=AllocationType::kYoung)
 
Handle< TrustedFixedArray > NewTrustedFixedArray (int length, AllocationType allocation=AllocationType::kTrusted)
 
Handle< ProtectedFixedArray > NewProtectedFixedArray (int length)
 
Handle< FixedArray > NewFixedArrayWithMap (DirectHandle< Map > map, int length, AllocationType allocation=AllocationType::kYoung)
 
Handle< FixedArray > NewFixedArrayWithHoles (int length, AllocationType allocation=AllocationType::kYoung)
 
DirectHandle< FixedArray > NewFixedArrayWithZeroes (int length, AllocationType allocation=AllocationType::kYoung)
 
Handle< FixedArrayBase > NewFixedDoubleArray (int length, AllocationType allocation=AllocationType::kYoung)
 
Handle< WeakFixedArray > NewWeakFixedArrayWithMap (Tagged< Map > map, int length, AllocationType allocation=AllocationType::kYoung)
 
Handle< WeakFixedArray > NewWeakFixedArray (int length, AllocationType allocation=AllocationType::kYoung)
 
Handle< TrustedWeakFixedArray > NewTrustedWeakFixedArray (int length)
 
Handle< ProtectedWeakFixedArray > NewProtectedWeakFixedArray (int length)
 
Handle< ByteArray > NewByteArray (int length, AllocationType allocation=AllocationType::kYoung)
 
Handle< TrustedByteArray > NewTrustedByteArray (int length, AllocationType allocation_type=AllocationType::kTrusted)
 
DirectHandle< DeoptimizationLiteralArray > NewDeoptimizationLiteralArray (int length)
 
DirectHandle< DeoptimizationFrameTranslation > NewDeoptimizationFrameTranslation (int length)
 
Handle< BytecodeArray > NewBytecodeArray (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< BytecodeWrapper > NewBytecodeWrapper (AllocationType allocation=AllocationType::kOld)
 
Handle< ObjectBoilerplateDescription > NewObjectBoilerplateDescription (int boilerplate, int all_properties, int index_keys, bool has_seen_proto)
 
Handle< ArrayBoilerplateDescription > NewArrayBoilerplateDescription (ElementsKind elements_kind, DirectHandle< FixedArrayBase > constant_values)
 
DirectHandle< RegExpDataWrapper > NewRegExpDataWrapper ()
 
DirectHandle< RegExpBoilerplateDescription > NewRegExpBoilerplateDescription (DirectHandle< RegExpData > data, DirectHandle< String > source, Tagged< Smi > flags)
 
Handle< TemplateObjectDescription > NewTemplateObjectDescription (DirectHandle< FixedArray > raw_strings, DirectHandle< FixedArray > cooked_strings)
 
Handle< Script > NewScript (DirectHandle< UnionOf< String, Undefined > > source, ScriptEventType event_type=ScriptEventType::kCreate)
 
Handle< Script > NewScriptWithId (DirectHandle< UnionOf< String, Undefined > > source, int script_id, ScriptEventType event_type=ScriptEventType::kCreate)
 
DirectHandle< SloppyArgumentsElements > NewSloppyArgumentsElements (int length, DirectHandle< Context > context, DirectHandle< FixedArray > arguments, AllocationType allocation=AllocationType::kYoung)
 
DirectHandle< ArrayList > NewArrayList (int size, AllocationType allocation=AllocationType::kYoung)
 
Handle< SharedFunctionInfo > NewSharedFunctionInfoForLiteral (FunctionLiteral *literal, DirectHandle< Script > script, bool is_toplevel)
 
Handle< SharedFunctionInfo > CloneSharedFunctionInfo (DirectHandle< SharedFunctionInfo > other)
 
DirectHandle< SharedFunctionInfoWrapper > NewSharedFunctionInfoWrapper (DirectHandle< SharedFunctionInfo > sfi)
 
Handle< PreparseData > NewPreparseData (int data_length, int children_length)
 
DirectHandle< UncompiledDataWithoutPreparseData > NewUncompiledDataWithoutPreparseData (Handle< String > inferred_name, int32_t start_position, int32_t end_position)
 
DirectHandle< UncompiledDataWithPreparseData > NewUncompiledDataWithPreparseData (Handle< String > inferred_name, int32_t start_position, int32_t end_position, Handle< PreparseData >)
 
DirectHandle< UncompiledDataWithoutPreparseDataWithJob > NewUncompiledDataWithoutPreparseDataWithJob (Handle< String > inferred_name, int32_t start_position, int32_t end_position)
 
DirectHandle< UncompiledDataWithPreparseDataAndJob > NewUncompiledDataWithPreparseDataAndJob (Handle< String > inferred_name, int32_t start_position, int32_t end_position, Handle< PreparseData >)
 
Handle< FeedbackMetadata > NewFeedbackMetadata (int slot_count, int create_closure_slot_count, AllocationType allocation=AllocationType::kOld)
 
Handle< CoverageInfo > NewCoverageInfo (const ZoneVector< SourceRange > &slots)
 
Handle< String > InternalizeString (base::Vector< const uint8_t > string, bool convert_encoding=false)
 
Handle< String > InternalizeString (base::Vector< const uint16_t > string, bool convert_encoding=false)
 
Handle< String > InternalizeStringWithKey (StringTableKey *key)
 
Handle< SeqOneByteString > NewOneByteInternalizedString (base::Vector< const uint8_t > str, uint32_t raw_hash_field)
 
Handle< SeqTwoByteString > NewTwoByteInternalizedString (base::Vector< const base::uc16 > str, uint32_t raw_hash_field)
 
DirectHandle< SeqOneByteString > NewOneByteInternalizedStringFromTwoByte (base::Vector< const base::uc16 > str, uint32_t raw_hash_field)
 
Handle< SeqOneByteString > AllocateRawOneByteInternalizedString (int length, uint32_t raw_hash_field)
 
Handle< SeqTwoByteString > AllocateRawTwoByteInternalizedString (int length, uint32_t raw_hash_field)
 
Handle< String > LookupSingleCharacterStringFromCode (uint16_t code)
 
MaybeHandle< String > NewStringFromOneByte (base::Vector< const uint8_t > string, AllocationType allocation=AllocationType::kYoung)
 
Handle< String > NewStringFromAsciiChecked (const char *str, AllocationType allocation=AllocationType::kYoung)
 
Handle< String > NewStringFromAsciiChecked (std::string_view str, AllocationType allocation=AllocationType::kYoung)
 
V8_WARN_UNUSED_RESULT MaybeHandle< SeqOneByteString > NewRawOneByteString (int length, AllocationType allocation=AllocationType::kYoung)
 
V8_WARN_UNUSED_RESULT MaybeHandle< SeqTwoByteString > NewRawTwoByteString (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< String > NewConsString (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< String > NumberToString (DirectHandle< Object > number, NumberCacheMode mode=NumberCacheMode::kBoth)
 
V8_WARN_UNUSED_RESULT Handle< String > HeapNumberToString (DirectHandle< HeapNumber > number, double value, NumberCacheMode mode=NumberCacheMode::kBoth)
 
V8_WARN_UNUSED_RESULT Handle< String > SmiToString (Tagged< Smi > number, NumberCacheMode mode=NumberCacheMode::kBoth)
 
V8_WARN_UNUSED_RESULT MaybeHandle< SeqOneByteString > NewRawSharedOneByteString (int length)
 
V8_WARN_UNUSED_RESULT MaybeHandle< SeqTwoByteString > NewRawSharedTwoByteString (int length)
 
Handle< FreshlyAllocatedBigInt > NewBigInt (uint32_t length, AllocationType allocation=AllocationType::kYoung)
 
Handle< ScopeInfo > NewScopeInfo (int length, AllocationType type=AllocationType::kOld)
 
DirectHandle< SourceTextModuleInfo > NewSourceTextModuleInfo ()
 
Handle< DescriptorArray > NewDescriptorArray (int number_of_descriptors, int slack=0, AllocationType allocation=AllocationType::kYoung)
 
Handle< ClassPositions > NewClassPositions (int start, int end)
 
Handle< SwissNameDictionary > NewSwissNameDictionary (int at_least_space_for=kSwissNameDictionaryInitialCapacity, AllocationType allocation=AllocationType::kYoung)
 
Handle< SwissNameDictionary > NewSwissNameDictionaryWithCapacity (int capacity, AllocationType allocation)
 
DirectHandle< FunctionTemplateRareData > NewFunctionTemplateRareData ()
 
MaybeDirectHandle< Map > GetInPlaceInternalizedStringMap (Tagged< Map > from_string_map)
 
AllocationType RefineAllocationTypeForInPlaceInternalizableString (AllocationType allocation, Tagged< Map > string_map)
 
Tagged< HeapObject > AllocateRawArray (int size, AllocationType allocation)
 
Tagged< HeapObject > AllocateRawFixedArray (int length, AllocationType allocation)
 
Tagged< HeapObject > AllocateRawWeakArrayList (int length, AllocationType allocation)
 
Tagged< StructType > NewStructInternal (InstanceType type, AllocationType allocation)
 
Tagged< Struct > NewStructInternal (ReadOnlyRoots roots, Tagged< Map > map, int size, AllocationType allocation)
 
Tagged< HeapObject > AllocateRawWithImmortalMap (int size, AllocationType allocation, Tagged< Map > map, AllocationAlignment alignment=kTaggedAligned)
 
Tagged< HeapObject > NewWithImmortalMap (Tagged< Map > map, AllocationType allocation)
 
Handle< FixedArray > NewFixedArrayWithFiller (DirectHandle< Map > map, int length, DirectHandle< HeapObject > filler, AllocationType allocation)
 
Handle< SharedFunctionInfo > NewSharedFunctionInfo (AllocationType allocation)
 
Handle< SharedFunctionInfo > NewSharedFunctionInfo (MaybeDirectHandle< String > maybe_name, MaybeDirectHandle< HeapObject > maybe_function_data, Builtin builtin, int len, AdaptArguments adapt, FunctionKind kind=FunctionKind::kNormalFunction)
 
Handle< String > MakeOrFindTwoCharacterString (uint16_t c1, uint16_t c2)
 
MaybeHandle< SeqStringT > NewRawStringWithMap (int length, Tagged< Map > map, AllocationType allocation)
 
- Static Private Member Functions inherited from v8::internal::Factory
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)
 
- Static Private Attributes inherited from v8::internal::FactoryBase< Factory >
static constexpr int kNumberToStringBufferSize
 

Detailed Description

Definition at line 584 of file isolate.h.


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