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

#include <factory.h>

Collaboration diagram for v8::internal::Factory::JSFunctionBuilder:

Public Member Functions

 JSFunctionBuilder (Isolate *isolate, DirectHandle< SharedFunctionInfo > sfi, DirectHandle< Context > context)
 
V8_WARN_UNUSED_RESULT Handle< JSFunctionBuild ()
 
JSFunctionBuilderset_map (DirectHandle< Map > v)
 
JSFunctionBuilderset_allocation_type (AllocationType v)
 
JSFunctionBuilderset_feedback_cell (DirectHandle< FeedbackCell > v)
 

Private Member Functions

V8_WARN_UNUSED_RESULT Handle< JSFunctionBuildRaw (DirectHandle< Code > code)
 

Private Attributes

Isolate *const isolate_
 
DirectHandle< SharedFunctionInfosfi_
 
DirectHandle< Contextcontext_
 
MaybeDirectHandle< Mapmaybe_map_
 
MaybeDirectHandle< FeedbackCellmaybe_feedback_cell_
 
AllocationType allocation_type_ = AllocationType::kOld
 

Friends

class Factory
 

Detailed Description

Definition at line 1109 of file factory.h.

Constructor & Destructor Documentation

◆ JSFunctionBuilder()

v8::internal::Factory::JSFunctionBuilder::JSFunctionBuilder ( Isolate * isolate,
DirectHandle< SharedFunctionInfo > sfi,
DirectHandle< Context > context )

Definition at line 4727 of file factory.cc.

Member Function Documentation

◆ Build()

Handle< JSFunction > v8::internal::Factory::JSFunctionBuilder::Build ( )

Definition at line 4732 of file factory.cc.

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

◆ BuildRaw()

Handle< JSFunction > v8::internal::Factory::JSFunctionBuilder::BuildRaw ( DirectHandle< Code > code)
private

Definition at line 4749 of file factory.cc.

Here is the call graph for this function:

◆ set_allocation_type()

JSFunctionBuilder & v8::internal::Factory::JSFunctionBuilder::set_allocation_type ( AllocationType v)
inline

Definition at line 1120 of file factory.h.

Here is the caller graph for this function:

◆ set_feedback_cell()

JSFunctionBuilder & v8::internal::Factory::JSFunctionBuilder::set_feedback_cell ( DirectHandle< FeedbackCell > v)
inline

Definition at line 1124 of file factory.h.

Here is the caller graph for this function:

◆ set_map()

JSFunctionBuilder & v8::internal::Factory::JSFunctionBuilder::set_map ( DirectHandle< Map > v)
inline

Definition at line 1116 of file factory.h.

Here is the caller graph for this function:

Friends And Related Symbol Documentation

◆ Factory

friend class Factory
friend

Definition at line 1139 of file factory.h.

Member Data Documentation

◆ allocation_type_

AllocationType v8::internal::Factory::JSFunctionBuilder::allocation_type_ = AllocationType::kOld
private

Definition at line 1137 of file factory.h.

◆ context_

DirectHandle<Context> v8::internal::Factory::JSFunctionBuilder::context_
private

Definition at line 1134 of file factory.h.

◆ isolate_

Isolate* const v8::internal::Factory::JSFunctionBuilder::isolate_
private

Definition at line 1132 of file factory.h.

◆ maybe_feedback_cell_

MaybeDirectHandle<FeedbackCell> v8::internal::Factory::JSFunctionBuilder::maybe_feedback_cell_
private

Definition at line 1136 of file factory.h.

◆ maybe_map_

MaybeDirectHandle<Map> v8::internal::Factory::JSFunctionBuilder::maybe_map_
private

Definition at line 1135 of file factory.h.

◆ sfi_

DirectHandle<SharedFunctionInfo> v8::internal::Factory::JSFunctionBuilder::sfi_
private

Definition at line 1133 of file factory.h.


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