V8 API Reference, 7.2.502.16 (for Deno 0.2.4)
v8::internal::Factory Class Reference
Inheritance diagram for v8::internal::Factory:
v8::internal::HiddenFactory v8::internal::Isolate

Public Member Functions

Handle< OddballNewOddball (Handle< Map > map, const char *to_string, Handle< Object > to_number, const char *type_of, byte kind, PretenureFlag pretenure=TENURED_READ_ONLY)
 
Handle< OddballNewSelfReferenceMarker (PretenureFlag pretenure=TENURED)
 
template<typename T = FixedArray>
Handle< TNewFixedArrayWithMap (RootIndex map_root_index, int length, PretenureFlag pretenure=NOT_TENURED)
 
template<typename T = WeakFixedArray>
Handle< TNewWeakFixedArrayWithMap (RootIndex map_root_index, int length, PretenureFlag pretenure=NOT_TENURED)
 
Handle< FixedArrayNewFixedArray (int length, PretenureFlag pretenure=NOT_TENURED)
 
Handle< WeakFixedArrayNewWeakFixedArray (int length, PretenureFlag pretenure=NOT_TENURED)
 
Handle< PropertyArrayNewPropertyArray (int length, PretenureFlag pretenure=NOT_TENURED)
 
V8_WARN_UNUSED_RESULT MaybeHandle< FixedArrayTryNewFixedArray (int length, PretenureFlag pretenure=NOT_TENURED)
 
Handle< FixedArrayNewFixedArrayWithHoles (int length, PretenureFlag pretenure=NOT_TENURED)
 
Handle< FixedArrayNewUninitializedFixedArray (int length, PretenureFlag pretenure=NOT_TENURED)
 
Handle< FeedbackVectorNewFeedbackVector (Handle< SharedFunctionInfo > shared, PretenureFlag pretenure=NOT_TENURED)
 
Handle< EmbedderDataArrayNewEmbedderDataArray (int length, PretenureFlag pretenure=NOT_TENURED)
 
Handle< ObjectBoilerplateDescriptionNewObjectBoilerplateDescription (int boilerplate, int all_properties, int index_keys, bool has_seen_proto)
 
Handle< FixedArrayBaseNewFixedDoubleArray (int length, PretenureFlag pretenure=NOT_TENURED)
 
Handle< FixedArrayBaseNewFixedDoubleArrayWithHoles (int size, PretenureFlag pretenure=NOT_TENURED)
 
Handle< FeedbackMetadataNewFeedbackMetadata (int slot_count, PretenureFlag tenure=TENURED)
 
Handle< FrameArrayNewFrameArray (int number_of_frames, PretenureFlag pretenure=NOT_TENURED)
 
Handle< OrderedHashSetNewOrderedHashSet ()
 
Handle< OrderedHashMapNewOrderedHashMap ()
 
Handle< OrderedNameDictionaryNewOrderedNameDictionary ()
 
Handle< SmallOrderedHashSetNewSmallOrderedHashSet (int capacity=SmallOrderedHashSet::kMinCapacity, PretenureFlag pretenure=NOT_TENURED)
 
Handle< SmallOrderedHashMapNewSmallOrderedHashMap (int capacity=SmallOrderedHashMap::kMinCapacity, PretenureFlag pretenure=NOT_TENURED)
 
Handle< SmallOrderedNameDictionaryNewSmallOrderedNameDictionary (int capacity=SmallOrderedHashMap::kMinCapacity, PretenureFlag pretenure=NOT_TENURED)
 
Handle< PrototypeInfoNewPrototypeInfo ()
 
Handle< EnumCacheNewEnumCache (Handle< FixedArray > keys, Handle< FixedArray > indices)
 
Handle< Tuple2NewTuple2 (Handle< Object > value1, Handle< Object > value2, PretenureFlag pretenure)
 
Handle< Tuple3NewTuple3 (Handle< Object > value1, Handle< Object > value2, Handle< Object > value3, PretenureFlag pretenure)
 
Handle< ArrayBoilerplateDescriptionNewArrayBoilerplateDescription (ElementsKind elements_kind, Handle< FixedArrayBase > constant_values)
 
Handle< TemplateObjectDescriptionNewTemplateObjectDescription (Handle< FixedArray > raw_strings, Handle< FixedArray > cooked_strings)
 
Handle< AccessorPairNewAccessorPair ()
 
Handle< StringInternalizeUtf8String (Vector< const char > str)
 
Handle< StringInternalizeUtf8String (const char *str)
 
Handle< StringInternalizeOneByteString (Vector< const uint8_t > str)
 
Handle< StringInternalizeOneByteString (Handle< SeqOneByteString >, int from, int length)
 
Handle< StringInternalizeTwoByteString (Vector< const uc16 > str)
 
template<class StringTableKey >
Handle< StringInternalizeStringWithKey (StringTableKey *key)
 
Handle< StringInternalizeString (Handle< String > string)
 
Handle< NameInternalizeName (Handle< Name > name)
 
V8_WARN_UNUSED_RESULT MaybeHandle< StringNewStringFromOneByte (Vector< const uint8_t > str, PretenureFlag pretenure=NOT_TENURED)
 
template<size_t N>
Handle< StringNewStringFromStaticChars (const char(&str)[N], PretenureFlag pretenure=NOT_TENURED)
 
Handle< StringNewStringFromAsciiChecked (const char *str, PretenureFlag pretenure=NOT_TENURED)
 
V8_WARN_UNUSED_RESULT MaybeHandle< StringNewStringFromUtf8 (Vector< const char > str, PretenureFlag pretenure=NOT_TENURED)
 
V8_WARN_UNUSED_RESULT MaybeHandle< StringNewStringFromUtf8SubString (Handle< SeqOneByteString > str, int begin, int end, PretenureFlag pretenure=NOT_TENURED)
 
V8_WARN_UNUSED_RESULT MaybeHandle< StringNewStringFromTwoByte (Vector< const uc16 > str, PretenureFlag pretenure=NOT_TENURED)
 
V8_WARN_UNUSED_RESULT MaybeHandle< StringNewStringFromTwoByte (const ZoneVector< uc16 > *str, PretenureFlag pretenure=NOT_TENURED)
 
Handle< JSStringIteratorNewJSStringIterator (Handle< String > string)
 
Handle< StringNewInternalizedStringFromUtf8 (Vector< const char > str, int chars, uint32_t hash_field)
 
Handle< StringNewOneByteInternalizedString (Vector< const uint8_t > str, uint32_t hash_field)
 
Handle< StringNewOneByteInternalizedSubString (Handle< SeqOneByteString > string, int offset, int length, uint32_t hash_field)
 
Handle< StringNewTwoByteInternalizedString (Vector< const uc16 > str, uint32_t hash_field)
 
Handle< StringNewInternalizedStringImpl (Handle< String > string, int chars, uint32_t hash_field)
 
V8_WARN_UNUSED_RESULT MaybeHandle< MapInternalizedStringMapForString (Handle< String > string)
 
template<class StringClass >
Handle< StringClass > InternalizeExternalString (Handle< String > string)
 
V8_WARN_UNUSED_RESULT MaybeHandle< SeqOneByteStringNewRawOneByteString (int length, PretenureFlag pretenure=NOT_TENURED)
 
V8_WARN_UNUSED_RESULT MaybeHandle< SeqTwoByteStringNewRawTwoByteString (int length, PretenureFlag pretenure=NOT_TENURED)
 
Handle< StringLookupSingleCharacterStringFromCode (uint32_t code)
 
V8_WARN_UNUSED_RESULT MaybeHandle< StringNewConsString (Handle< String > left, Handle< String > right)
 
V8_WARN_UNUSED_RESULT Handle< StringNewConsString (Handle< String > left, Handle< String > right, int length, bool one_byte)
 
Handle< StringNewSurrogatePairString (uint16_t lead, uint16_t trail)
 
Handle< StringNewProperSubString (Handle< String > str, int begin, int end)
 
Handle< StringNewSubString (Handle< String > str, int begin, int end)
 
V8_WARN_UNUSED_RESULT MaybeHandle< StringNewExternalStringFromOneByte (const ExternalOneByteString::Resource *resource)
 
V8_WARN_UNUSED_RESULT MaybeHandle< StringNewExternalStringFromTwoByte (const ExternalTwoByteString::Resource *resource)
 
Handle< ExternalOneByteStringNewNativeSourceString (const ExternalOneByteString::Resource *resource)
 
Handle< SymbolNewSymbol (PretenureFlag pretenure=TENURED)
 
Handle< SymbolNewPrivateSymbol (PretenureFlag pretenure=TENURED)
 
Handle< SymbolNewPrivateNameSymbol ()
 
Handle< NativeContextNewNativeContext ()
 
Handle< ContextNewScriptContext (Handle< NativeContext > outer, Handle< ScopeInfo > scope_info)
 
Handle< ScriptContextTableNewScriptContextTable ()
 
Handle< ContextNewModuleContext (Handle< Module > module, Handle< NativeContext > outer, Handle< ScopeInfo > scope_info)
 
Handle< ContextNewFunctionContext (Handle< Context > outer, Handle< ScopeInfo > scope_info)
 
Handle< ContextNewCatchContext (Handle< Context > previous, Handle< ScopeInfo > scope_info, Handle< Object > thrown_object)
 
Handle< ContextNewWithContext (Handle< Context > previous, Handle< ScopeInfo > scope_info, Handle< JSReceiver > extension)
 
Handle< ContextNewDebugEvaluateContext (Handle< Context > previous, Handle< ScopeInfo > scope_info, Handle< JSReceiver > extension, Handle< Context > wrapped, Handle< StringSet > whitelist)
 
Handle< ContextNewBlockContext (Handle< Context > previous, Handle< ScopeInfo > scope_info)
 
Handle< ContextNewBuiltinContext (Handle< NativeContext > native_context, int length)
 
Handle< StructNewStruct (InstanceType type, PretenureFlag pretenure=NOT_TENURED)
 
Handle< AliasedArgumentsEntryNewAliasedArgumentsEntry (int aliased_context_slot)
 
Handle< AccessorInfoNewAccessorInfo ()
 
Handle< ScriptNewScript (Handle< String > source, PretenureFlag tenure=TENURED)
 
Handle< ScriptNewScriptWithId (Handle< String > source, int script_id, PretenureFlag tenure=TENURED)
 
Handle< ScriptCloneScript (Handle< Script > script)
 
Handle< BreakPointInfoNewBreakPointInfo (int source_position)
 
Handle< BreakPointNewBreakPoint (int id, Handle< String > condition)
 
Handle< StackFrameInfoNewStackFrameInfo ()
 
Handle< SourcePositionTableWithFrameCacheNewSourcePositionTableWithFrameCache (Handle< ByteArray > source_position_table, Handle< SimpleNumberDictionary > stack_frame_cache)
 
Handle< CallableTaskNewCallableTask (Handle< JSReceiver > callable, Handle< Context > context)
 
Handle< CallbackTaskNewCallbackTask (Handle< Foreign > callback, Handle< Foreign > data)
 
Handle< PromiseResolveThenableJobTaskNewPromiseResolveThenableJobTask (Handle< JSPromise > promise_to_resolve, Handle< JSReceiver > then, Handle< JSReceiver > thenable, Handle< Context > context)
 
Handle< WeakFactoryCleanupJobTaskNewWeakFactoryCleanupJobTask (Handle< JSWeakFactory > weak_factory)
 
Handle< ForeignNewForeign (Address addr, PretenureFlag pretenure=NOT_TENURED)
 
Handle< ByteArrayNewByteArray (int length, PretenureFlag pretenure=NOT_TENURED)
 
Handle< BytecodeArrayNewBytecodeArray (int length, const byte *raw_bytecodes, int frame_size, int parameter_count, Handle< FixedArray > constant_pool)
 
Handle< FixedTypedArrayBaseNewFixedTypedArrayWithExternalPointer (int length, ExternalArrayType array_type, void *external_pointer, PretenureFlag pretenure=NOT_TENURED)
 
Handle< FixedTypedArrayBaseNewFixedTypedArray (size_t length, size_t byte_length, ExternalArrayType array_type, bool initialize, PretenureFlag pretenure=NOT_TENURED)
 
Handle< CellNewCell (Handle< Object > value)
 
Handle< PropertyCellNewPropertyCell (Handle< Name > name, PretenureFlag pretenure=TENURED)
 
Handle< FeedbackCellNewNoClosuresCell (Handle< HeapObject > value)
 
Handle< FeedbackCellNewOneClosureCell (Handle< HeapObject > value)
 
Handle< FeedbackCellNewManyClosuresCell (Handle< HeapObject > value)
 
Handle< FeedbackCellNewNoFeedbackCell ()
 
Handle< DescriptorArrayNewDescriptorArray (int number_of_entries, int slack=0)
 
Handle< TransitionArrayNewTransitionArray (int number_of_transitions, int slack=0)
 
Handle< AllocationSiteNewAllocationSite (bool with_weak_next)
 
Handle< MapNewMap (InstanceType type, int instance_size, ElementsKind elements_kind=TERMINAL_FAST_ELEMENTS_KIND, int inobject_properties=0)
 
Map InitializeMap (Map map, InstanceType type, int instance_size, ElementsKind elements_kind, int inobject_properties)
 
Handle< HeapObjectNewFillerObject (int size, bool double_align, AllocationSpace space)
 
Handle< JSObjectNewFunctionPrototype (Handle< JSFunction > function)
 
Handle< JSObjectCopyJSObject (Handle< JSObject > object)
 
Handle< JSObjectCopyJSObjectWithAllocationSite (Handle< JSObject > object, Handle< AllocationSite > site)
 
Handle< FixedArrayCopyFixedArrayWithMap (Handle< FixedArray > array, Handle< Map > map)
 
Handle< FixedArrayCopyFixedArrayAndGrow (Handle< FixedArray > array, int grow_by, PretenureFlag pretenure=NOT_TENURED)
 
Handle< WeakFixedArrayCopyWeakFixedArrayAndGrow (Handle< WeakFixedArray > array, int grow_by, PretenureFlag pretenure=NOT_TENURED)
 
Handle< WeakArrayListCopyWeakArrayListAndGrow (Handle< WeakArrayList > array, int grow_by, PretenureFlag pretenure=NOT_TENURED)
 
Handle< PropertyArrayCopyPropertyArrayAndGrow (Handle< PropertyArray > array, int grow_by, PretenureFlag pretenure=NOT_TENURED)
 
Handle< FixedArrayCopyFixedArrayUpTo (Handle< FixedArray > array, int new_len, PretenureFlag pretenure=NOT_TENURED)
 
Handle< FixedArrayCopyFixedArray (Handle< FixedArray > array)
 
Handle< FixedArrayCopyAndTenureFixedCOWArray (Handle< FixedArray > array)
 
Handle< FixedDoubleArrayCopyFixedDoubleArray (Handle< FixedDoubleArray > array)
 
Handle< FeedbackVectorCopyFeedbackVector (Handle< FeedbackVector > array)
 
Handle< ObjectNewNumber (double value, PretenureFlag pretenure=NOT_TENURED)
 
Handle< ObjectNewNumberFromInt (int32_t value, PretenureFlag pretenure=NOT_TENURED)
 
Handle< ObjectNewNumberFromUint (uint32_t value, PretenureFlag pretenure=NOT_TENURED)
 
Handle< ObjectNewNumberFromSize (size_t value, PretenureFlag pretenure=NOT_TENURED)
 
Handle< ObjectNewNumberFromInt64 (int64_t value, PretenureFlag pretenure=NOT_TENURED)
 
Handle< HeapNumberNewHeapNumber (double value, PretenureFlag pretenure=NOT_TENURED)
 
Handle< HeapNumberNewHeapNumberFromBits (uint64_t bits, PretenureFlag pretenure=NOT_TENURED)
 
Handle< HeapNumberNewHeapNumber (PretenureFlag pretenure=NOT_TENURED)
 
Handle< MutableHeapNumberNewMutableHeapNumber (PretenureFlag pretenure=NOT_TENURED)
 
Handle< MutableHeapNumberNewMutableHeapNumber (double value, PretenureFlag pretenure=NOT_TENURED)
 
Handle< MutableHeapNumberNewMutableHeapNumberFromBits (uint64_t bits, PretenureFlag pretenure=NOT_TENURED)
 
Handle< MutableHeapNumberNewMutableHeapNumberWithHoleNaN (PretenureFlag pretenure=NOT_TENURED)
 
Handle< FreshlyAllocatedBigIntNewBigInt (int length, PretenureFlag pretenure=NOT_TENURED)
 
Handle< JSObjectNewArgumentsObject (Handle< JSFunction > callee, int length)
 
Handle< JSObjectNewJSObject (Handle< JSFunction > constructor, PretenureFlag pretenure=NOT_TENURED)
 
Handle< JSObjectNewJSObjectWithNullProto (PretenureFlag pretenure=NOT_TENURED)
 
Handle< JSGlobalObjectNewJSGlobalObject (Handle< JSFunction > constructor)
 
Handle< JSObjectNewJSObjectFromMap (Handle< Map > map, PretenureFlag pretenure=NOT_TENURED, Handle< AllocationSite > allocation_site=Handle< AllocationSite >::null())
 
Handle< JSObjectNewSlowJSObjectFromMap (Handle< Map > map, int number_of_slow_properties=NameDictionary::kInitialCapacity, PretenureFlag pretenure=NOT_TENURED)
 
Handle< JSObjectNewSlowJSObjectWithPropertiesAndElements (Handle< Object > prototype, Handle< NameDictionary > properties, Handle< FixedArrayBase > elements, PretenureFlag pretenure=NOT_TENURED)
 
Handle< JSArrayNewJSArray (ElementsKind elements_kind, int length, int capacity, ArrayStorageAllocationMode mode=DONT_INITIALIZE_ARRAY_ELEMENTS, PretenureFlag pretenure=NOT_TENURED)
 
Handle< JSArrayNewJSArray (int capacity, ElementsKind elements_kind=TERMINAL_FAST_ELEMENTS_KIND, PretenureFlag pretenure=NOT_TENURED)
 
Handle< JSArrayNewJSArrayWithElements (Handle< FixedArrayBase > elements, ElementsKind elements_kind, int length, PretenureFlag pretenure=NOT_TENURED)
 
Handle< JSArrayNewJSArrayWithElements (Handle< FixedArrayBase > elements, ElementsKind elements_kind=TERMINAL_FAST_ELEMENTS_KIND, PretenureFlag pretenure=NOT_TENURED)
 
void NewJSArrayStorage (Handle< JSArray > array, int length, int capacity, ArrayStorageAllocationMode mode=DONT_INITIALIZE_ARRAY_ELEMENTS)
 
Handle< JSWeakMapNewJSWeakMap ()
 
Handle< JSGeneratorObjectNewJSGeneratorObject (Handle< JSFunction > function)
 
Handle< JSModuleNamespaceNewJSModuleNamespace ()
 
Handle< ModuleNewModule (Handle< SharedFunctionInfo > code)
 
Handle< JSArrayBufferNewJSArrayBuffer (SharedFlag shared=SharedFlag::kNotShared, PretenureFlag pretenure=NOT_TENURED)
 
Handle< JSTypedArrayNewJSTypedArray (ExternalArrayType type, PretenureFlag pretenure=NOT_TENURED)
 
Handle< JSTypedArrayNewJSTypedArray (ElementsKind elements_kind, PretenureFlag pretenure=NOT_TENURED)
 
Handle< JSTypedArrayNewJSTypedArray (ExternalArrayType type, Handle< JSArrayBuffer > buffer, size_t byte_offset, size_t length, PretenureFlag pretenure=NOT_TENURED)
 
Handle< JSTypedArrayNewJSTypedArray (ElementsKind elements_kind, size_t number_of_elements, PretenureFlag pretenure=NOT_TENURED)
 
Handle< JSDataViewNewJSDataView (Handle< JSArrayBuffer > buffer, size_t byte_offset, size_t byte_length)
 
Handle< JSIteratorResultNewJSIteratorResult (Handle< Object > value, bool done)
 
Handle< JSAsyncFromSyncIteratorNewJSAsyncFromSyncIterator (Handle< JSReceiver > sync_iterator, Handle< Object > next)
 
Handle< JSMapNewJSMap ()
 
Handle< JSSetNewJSSet ()
 
MaybeHandle< JSBoundFunctionNewJSBoundFunction (Handle< JSReceiver > target_function, Handle< Object > bound_this, Vector< Handle< Object >> bound_args)
 
Handle< JSProxyNewJSProxy (Handle< JSReceiver > target, Handle< JSReceiver > handler)
 
void ReinitializeJSGlobalProxy (Handle< JSGlobalProxy > global, Handle< JSFunction > constructor)
 
Handle< JSGlobalProxyNewUninitializedJSGlobalProxy (int size)
 
Handle< JSFunctionNewFunction (const NewFunctionArgs &args)
 
Handle< JSFunctionNewFunctionForTest (Handle< String > name)
 
Handle< JSFunctionNewFunctionFromSharedFunctionInfo (Handle< Map > initial_map, Handle< SharedFunctionInfo > function_info, Handle< Context > context, Handle< FeedbackCell > feedback_cell, PretenureFlag pretenure=TENURED)
 
Handle< JSFunctionNewFunctionFromSharedFunctionInfo (Handle< SharedFunctionInfo > function_info, Handle< Context > context, Handle< FeedbackCell > feedback_cell, PretenureFlag pretenure=TENURED)
 
Handle< JSFunctionNewFunctionFromSharedFunctionInfo (Handle< Map > initial_map, Handle< SharedFunctionInfo > function_info, Handle< Context > context, PretenureFlag pretenure=TENURED)
 
Handle< JSFunctionNewFunctionFromSharedFunctionInfo (Handle< SharedFunctionInfo > function_info, Handle< Context > context, PretenureFlag pretenure=TENURED)
 
Handle< JSFunctionNewFunction (Handle< Map > map, Handle< SharedFunctionInfo > info, Handle< Context > context, PretenureFlag pretenure=TENURED)
 
Handle< ScopeInfoNewScopeInfo (int length)
 
Handle< ModuleInfoNewModuleInfo ()
 
Handle< PreParsedScopeDataNewPreParsedScopeData (int length)
 
Handle< UncompiledDataWithoutPreParsedScopeNewUncompiledDataWithoutPreParsedScope (Handle< String > inferred_name, int32_t start_position, int32_t end_position, int32_t function_literal_id)
 
Handle< UncompiledDataWithPreParsedScopeNewUncompiledDataWithPreParsedScope (Handle< String > inferred_name, int32_t start_position, int32_t end_position, int32_t function_literal_id, Handle< PreParsedScopeData >)
 
Handle< JSObjectNewExternal (void *value)
 
Handle< CodeDataContainerNewCodeDataContainer (int flags)
 
Handle< CodeNewCode (const CodeDesc &desc, Code::Kind kind, Handle< Object > self_reference, int32_t builtin_index=Builtins::kNoBuiltinId, MaybeHandle< ByteArray > maybe_source_position_table=MaybeHandle< ByteArray >(), MaybeHandle< DeoptimizationData > maybe_deopt_data=MaybeHandle< DeoptimizationData >(), Movability movability=kMovable, uint32_t stub_key=0, bool is_turbofanned=false, int stack_slots=0, int safepoint_table_offset=0, int handler_table_offset=0)
 
V8_WARN_UNUSED_RESULT MaybeHandle< CodeTryNewCode (const CodeDesc &desc, Code::Kind kind, Handle< Object > self_reference, int32_t builtin_index=Builtins::kNoBuiltinId, MaybeHandle< ByteArray > maybe_source_position_table=MaybeHandle< ByteArray >(), MaybeHandle< DeoptimizationData > maybe_deopt_data=MaybeHandle< DeoptimizationData >(), Movability movability=kMovable, uint32_t stub_key=0, bool is_turbofanned=false, int stack_slots=0, int safepoint_table_offset=0, int handler_table_offset=0)
 
Handle< CodeNewOffHeapTrampolineFor (Handle< Code > code, Address off_heap_entry)
 
Handle< CodeCopyCode (Handle< Code > code)
 
Handle< BytecodeArrayCopyBytecodeArray (Handle< BytecodeArray >)
 
Handle< ObjectNewError (Handle< JSFunction > constructor, Handle< String > message)
 
Handle< ObjectNewInvalidStringLengthError ()
 
Handle< ObjectNewURIError ()
 
Handle< ObjectNewError (Handle< JSFunction > constructor, MessageTemplate template_index, Handle< Object > arg0=Handle< Object >(), Handle< Object > arg1=Handle< Object >(), Handle< Object > arg2=Handle< Object >())
 
Handle< StringNumberToString (Handle< Object > number, bool check_cache=true)
 
Handle< StringNumberToString (Smi number, bool check_cache=true)
 
Handle< StringUint32ToString (uint32_t value, bool check_cache=true)
 
Handle< SharedFunctionInfoNewSharedFunctionInfoForApiFunction (MaybeHandle< String > maybe_name, Handle< FunctionTemplateInfo > function_template_info, FunctionKind kind)
 
Handle< SharedFunctionInfoNewSharedFunctionInfoForBuiltin (MaybeHandle< String > name, int builtin_index, FunctionKind kind=kNormalFunction)
 
Handle< SharedFunctionInfoNewSharedFunctionInfoForLiteral (FunctionLiteral *literal, Handle< Script > script, bool is_toplevel)
 
Handle< MapCreateSloppyFunctionMap (FunctionMode function_mode, MaybeHandle< JSFunction > maybe_empty_function)
 
Handle< MapCreateStrictFunctionMap (FunctionMode function_mode, Handle< JSFunction > empty_function)
 
Handle< MapCreateClassFunctionMap (Handle< JSFunction > empty_function)
 
Handle< JSMessageObjectNewJSMessageObject (MessageTemplate message, Handle< Object > argument, int start_position, int end_position, Handle< Script > script, Handle< Object > stack_frames)
 
Handle< DebugInfoNewDebugInfo (Handle< SharedFunctionInfo > shared)
 
Handle< CoverageInfoNewCoverageInfo (const ZoneVector< SourceRange > &slots)
 
Handle< MapObjectLiteralMapFromCache (Handle< NativeContext > native_context, int number_of_properties)
 
Handle< LoadHandlerNewLoadHandler (int data_count)
 
Handle< StoreHandlerNewStoreHandler (int data_count)
 
Handle< RegExpMatchInfoNewRegExpMatchInfo ()
 
void SetRegExpAtomData (Handle< JSRegExp > regexp, JSRegExp::Type type, Handle< String > source, JSRegExp::Flags flags, Handle< Object > match_pattern)
 
void SetRegExpIrregexpData (Handle< JSRegExp > regexp, JSRegExp::Type type, Handle< String > source, JSRegExp::Flags flags, int capture_count)
 
Handle< ObjectGlobalConstantFor (Handle< Name > name)
 
Handle< ObjectToBoolean (bool value)
 
Handle< StringToPrimitiveHintString (ToPrimitiveHint hint)
 
Handle< JSPromiseNewJSPromiseWithoutHook (PretenureFlag pretenure=NOT_TENURED)
 
Handle< JSPromiseNewJSPromise (PretenureFlag pretenure=NOT_TENURED)
 
Handle< CallHandlerInfoNewCallHandlerInfo (bool has_no_side_effect=false)
 
HeapObjectNewForTest (Handle< Map > map, PretenureFlag pretenure)
 

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)
 
static bool IsFunctionModeWithHomeObject (FunctionMode function_mode)
 

Detailed Description

Definition at line 101 of file factory.h.


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