v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::interpreter::BytecodeGenerator::TopLevelDeclarationsBuilder Class Referencefinal
Inheritance diagram for v8::internal::interpreter::BytecodeGenerator::TopLevelDeclarationsBuilder:
Collaboration diagram for v8::internal::interpreter::BytecodeGenerator::TopLevelDeclarationsBuilder:

Public Member Functions

template<typename IsolateT >
Handle< FixedArrayAllocateDeclarations (UnoptimizedCompilationInfo *info, BytecodeGenerator *generator, Handle< Script > script, IsolateT *isolate)
 
size_t constant_pool_entry ()
 
void set_constant_pool_entry (size_t constant_pool_entry)
 
void record_global_variable_declaration ()
 
void record_global_function_declaration ()
 
void record_module_variable_declaration ()
 
void record_module_function_declaration ()
 
bool has_top_level_declaration ()
 
bool processed ()
 
void mark_processed ()
 
- Public Member Functions inherited from v8::internal::ZoneObject
void * operator new (size_t, Zone *)=delete
 
void * operator new (size_t size, void *ptr)
 
void operator delete (void *, size_t)
 
void operator delete (void *pointer, Zone *zone)=delete
 

Private Attributes

const int kGlobalVariableDeclarationSize = 1
 
const int kGlobalFunctionDeclarationSize = 2
 
const int kModuleVariableDeclarationSize = 1
 
const int kModuleFunctionDeclarationSize = 3
 
size_t constant_pool_entry_ = 0
 
int entry_slots_ = 0
 
bool has_constant_pool_entry_ = false
 
bool processed_ = false
 

Detailed Description

Definition at line 838 of file bytecode-generator.cc.

Member Function Documentation

◆ AllocateDeclarations()

template<typename IsolateT >
Handle< FixedArray > v8::internal::interpreter::BytecodeGenerator::TopLevelDeclarationsBuilder::AllocateDeclarations ( UnoptimizedCompilationInfo * info,
BytecodeGenerator * generator,
Handle< Script > script,
IsolateT * isolate )
inline

Definition at line 841 of file bytecode-generator.cc.

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

◆ constant_pool_entry()

size_t v8::internal::interpreter::BytecodeGenerator::TopLevelDeclarationsBuilder::constant_pool_entry ( )
inline

Definition at line 906 of file bytecode-generator.cc.

◆ has_top_level_declaration()

bool v8::internal::interpreter::BytecodeGenerator::TopLevelDeclarationsBuilder::has_top_level_declaration ( )
inline

Definition at line 930 of file bytecode-generator.cc.

◆ mark_processed()

void v8::internal::interpreter::BytecodeGenerator::TopLevelDeclarationsBuilder::mark_processed ( )
inline

Definition at line 932 of file bytecode-generator.cc.

Here is the caller graph for this function:

◆ processed()

bool v8::internal::interpreter::BytecodeGenerator::TopLevelDeclarationsBuilder::processed ( )
inline

Definition at line 931 of file bytecode-generator.cc.

◆ record_global_function_declaration()

void v8::internal::interpreter::BytecodeGenerator::TopLevelDeclarationsBuilder::record_global_function_declaration ( )
inline

Definition at line 921 of file bytecode-generator.cc.

Here is the caller graph for this function:

◆ record_global_variable_declaration()

void v8::internal::interpreter::BytecodeGenerator::TopLevelDeclarationsBuilder::record_global_variable_declaration ( )
inline

Definition at line 918 of file bytecode-generator.cc.

Here is the caller graph for this function:

◆ record_module_function_declaration()

void v8::internal::interpreter::BytecodeGenerator::TopLevelDeclarationsBuilder::record_module_function_declaration ( )
inline

Definition at line 927 of file bytecode-generator.cc.

Here is the caller graph for this function:

◆ record_module_variable_declaration()

void v8::internal::interpreter::BytecodeGenerator::TopLevelDeclarationsBuilder::record_module_variable_declaration ( )
inline

Definition at line 924 of file bytecode-generator.cc.

Here is the caller graph for this function:

◆ set_constant_pool_entry()

void v8::internal::interpreter::BytecodeGenerator::TopLevelDeclarationsBuilder::set_constant_pool_entry ( size_t constant_pool_entry)
inline

Definition at line 911 of file bytecode-generator.cc.

Here is the caller graph for this function:

Member Data Documentation

◆ constant_pool_entry_

size_t v8::internal::interpreter::BytecodeGenerator::TopLevelDeclarationsBuilder::constant_pool_entry_ = 0
private

Definition at line 940 of file bytecode-generator.cc.

◆ entry_slots_

int v8::internal::interpreter::BytecodeGenerator::TopLevelDeclarationsBuilder::entry_slots_ = 0
private

Definition at line 941 of file bytecode-generator.cc.

◆ has_constant_pool_entry_

bool v8::internal::interpreter::BytecodeGenerator::TopLevelDeclarationsBuilder::has_constant_pool_entry_ = false
private

Definition at line 942 of file bytecode-generator.cc.

◆ kGlobalFunctionDeclarationSize

const int v8::internal::interpreter::BytecodeGenerator::TopLevelDeclarationsBuilder::kGlobalFunctionDeclarationSize = 2
private

Definition at line 936 of file bytecode-generator.cc.

◆ kGlobalVariableDeclarationSize

const int v8::internal::interpreter::BytecodeGenerator::TopLevelDeclarationsBuilder::kGlobalVariableDeclarationSize = 1
private

Definition at line 935 of file bytecode-generator.cc.

◆ kModuleFunctionDeclarationSize

const int v8::internal::interpreter::BytecodeGenerator::TopLevelDeclarationsBuilder::kModuleFunctionDeclarationSize = 3
private

Definition at line 938 of file bytecode-generator.cc.

◆ kModuleVariableDeclarationSize

const int v8::internal::interpreter::BytecodeGenerator::TopLevelDeclarationsBuilder::kModuleVariableDeclarationSize = 1
private

Definition at line 937 of file bytecode-generator.cc.

◆ processed_

bool v8::internal::interpreter::BytecodeGenerator::TopLevelDeclarationsBuilder::processed_ = false
private

Definition at line 943 of file bytecode-generator.cc.


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