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

Public Member Functions

 ContextScope (BytecodeGenerator *generator, Scope *scope, Register outer_context_reg=Register())
 
 ~ContextScope ()
 
 ContextScope (const ContextScope &)=delete
 
ContextScopeoperator= (const ContextScope &)=delete
 
int ContextChainDepth (Scope *scope)
 
ContextScopePrevious (int depth)
 
Register reg () const
 

Private Member Functions

const BytecodeArrayBuilderbuilder () const
 
void set_register (Register reg)
 

Private Attributes

BytecodeGeneratorgenerator_
 
Scopescope_
 
ContextScopeouter_
 
Register register_
 
int depth_
 

Detailed Description

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

Constructor & Destructor Documentation

◆ ContextScope() [1/2]

v8::internal::interpreter::BytecodeGenerator::ContextScope::ContextScope ( BytecodeGenerator * generator,
Scope * scope,
Register outer_context_reg = Register() )
inline

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

Here is the call graph for this function:

◆ ~ContextScope()

v8::internal::interpreter::BytecodeGenerator::ContextScope::~ContextScope ( )
inline

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

◆ ContextScope() [2/2]

v8::internal::interpreter::BytecodeGenerator::ContextScope::ContextScope ( const ContextScope & )
delete

Member Function Documentation

◆ builder()

const BytecodeArrayBuilder * v8::internal::interpreter::BytecodeGenerator::ContextScope::builder ( ) const
inlineprivate

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

◆ ContextChainDepth()

int v8::internal::interpreter::BytecodeGenerator::ContextScope::ContextChainDepth ( Scope * scope)
inline

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

Here is the caller graph for this function:

◆ operator=()

ContextScope & v8::internal::interpreter::BytecodeGenerator::ContextScope::operator= ( const ContextScope & )
delete

◆ Previous()

ContextScope * v8::internal::interpreter::BytecodeGenerator::ContextScope::Previous ( int depth)
inline

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

Here is the caller graph for this function:

◆ reg()

Register v8::internal::interpreter::BytecodeGenerator::ContextScope::reg ( ) const
inline

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

Here is the caller graph for this function:

◆ set_register()

void v8::internal::interpreter::BytecodeGenerator::ContextScope::set_register ( Register reg)
inlineprivate

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

Member Data Documentation

◆ depth_

int v8::internal::interpreter::BytecodeGenerator::ContextScope::depth_
private

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

◆ generator_

BytecodeGenerator* v8::internal::interpreter::BytecodeGenerator::ContextScope::generator_
private

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

◆ outer_

ContextScope* v8::internal::interpreter::BytecodeGenerator::ContextScope::outer_
private

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

◆ register_

Register v8::internal::interpreter::BytecodeGenerator::ContextScope::register_
private

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

◆ scope_

Scope* v8::internal::interpreter::BytecodeGenerator::ContextScope::scope_
private

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


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