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

#include <accessor-assembler.h>

Collaboration diagram for v8::internal::ExitPoint:

Public Types

using IndirectReturnHandler = std::function<void(TNode<Object> result)>
 

Public Member Functions

 ExitPoint (CodeStubAssembler *assembler)
 
 ExitPoint (CodeStubAssembler *assembler, const IndirectReturnHandler &indirect_return_handler)
 
 ExitPoint (CodeStubAssembler *assembler, CodeAssemblerLabel *out, compiler::CodeAssembler::TVariable< Object > *var_result)
 
template<class... TArgs>
void ReturnCallRuntime (Runtime::FunctionId function, TNode< Context > context, TArgs... args)
 
template<class... TArgs>
void ReturnCallBuiltin (Builtin builtin, TNode< Context > context, TArgs... args)
 
template<class... TArgs>
void ReturnCallStub (const CallInterfaceDescriptor &descriptor, TNode< Code > target, TNode< Context > context, TArgs... args)
 
void Return (const TNode< Object > result)
 
bool IsDirect () const
 

Private Types

using CodeAssemblerLabel = compiler::CodeAssemblerLabel
 

Private Attributes

CodeStubAssembler *const asm_
 
IndirectReturnHandler indirect_return_handler_
 

Detailed Description

Definition at line 606 of file accessor-assembler.h.

Member Typedef Documentation

◆ CodeAssemblerLabel

◆ IndirectReturnHandler

Definition at line 611 of file accessor-assembler.h.

Constructor & Destructor Documentation

◆ ExitPoint() [1/3]

v8::internal::ExitPoint::ExitPoint ( CodeStubAssembler * assembler)
inlineexplicit

Definition at line 613 of file accessor-assembler.h.

◆ ExitPoint() [2/3]

v8::internal::ExitPoint::ExitPoint ( CodeStubAssembler * assembler,
const IndirectReturnHandler & indirect_return_handler )
inline

Definition at line 616 of file accessor-assembler.h.

◆ ExitPoint() [3/3]

v8::internal::ExitPoint::ExitPoint ( CodeStubAssembler * assembler,
CodeAssemblerLabel * out,
compiler::CodeAssembler::TVariable< Object > * var_result )
inline

Definition at line 620 of file accessor-assembler.h.

Member Function Documentation

◆ IsDirect()

bool v8::internal::ExitPoint::IsDirect ( ) const
inline

Definition at line 669 of file accessor-assembler.h.

Here is the caller graph for this function:

◆ Return()

void v8::internal::ExitPoint::Return ( const TNode< Object > result)
inline

Definition at line 661 of file accessor-assembler.h.

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

◆ ReturnCallBuiltin()

template<class... TArgs>
void v8::internal::ExitPoint::ReturnCallBuiltin ( Builtin builtin,
TNode< Context > context,
TArgs... args )
inline

Definition at line 640 of file accessor-assembler.h.

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

◆ ReturnCallRuntime()

template<class... TArgs>
void v8::internal::ExitPoint::ReturnCallRuntime ( Runtime::FunctionId function,
TNode< Context > context,
TArgs... args )
inline

Definition at line 630 of file accessor-assembler.h.

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

◆ ReturnCallStub()

template<class... TArgs>
void v8::internal::ExitPoint::ReturnCallStub ( const CallInterfaceDescriptor & descriptor,
TNode< Code > target,
TNode< Context > context,
TArgs... args )
inline

Definition at line 650 of file accessor-assembler.h.

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

Member Data Documentation

◆ asm_

CodeStubAssembler* const v8::internal::ExitPoint::asm_
private

Definition at line 672 of file accessor-assembler.h.

◆ indirect_return_handler_

IndirectReturnHandler v8::internal::ExitPoint::indirect_return_handler_
private

Definition at line 673 of file accessor-assembler.h.


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