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

#include <instructions.h>

Inheritance diagram for v8::internal::torque::CallRuntimeInstruction:
Collaboration diagram for v8::internal::torque::CallRuntimeInstruction:

Public Member Functions

bool IsBlockTerminator () const override
 
 CallRuntimeInstruction (bool is_tailcall, RuntimeFunction *runtime_function, size_t argc, std::optional< Block * > catch_block)
 
void AppendSuccessorBlocks (std::vector< Block * > *block_list) const override
 
std::size_t GetValueDefinitionCount () const
 
DefinitionLocation GetValueDefinition (std::size_t index) const
 
std::optional< DefinitionLocationGetExceptionObjectDefinition () const
 
- Public Member Functions inherited from v8::internal::torque::InstructionBase
 InstructionBase ()
 
virtual std::unique_ptr< InstructionBaseClone () const =0
 
virtual void Assign (const InstructionBase &other)=0
 
virtual ~InstructionBase ()=default
 
virtual void TypeInstruction (Stack< const Type * > *stack, ControlFlowGraph *cfg) const =0
 
virtual void RecomputeDefinitionLocations (Stack< DefinitionLocation > *locations, Worklist< Block * > *worklist) const =0
 
void InvalidateTransientTypes (Stack< const Type * > *stack) const
 

Public Attributes

bool is_tailcall
 
RuntimeFunctionruntime_function
 
size_t argc
 
std::optional< Block * > catch_block
 
- Public Attributes inherited from v8::internal::torque::InstructionBase
SourcePosition pos
 

Detailed Description

Definition at line 605 of file instructions.h.

Constructor & Destructor Documentation

◆ CallRuntimeInstruction()

v8::internal::torque::CallRuntimeInstruction::CallRuntimeInstruction ( bool is_tailcall,
RuntimeFunction * runtime_function,
size_t argc,
std::optional< Block * > catch_block )
inline

Definition at line 609 of file instructions.h.

Member Function Documentation

◆ AppendSuccessorBlocks()

void v8::internal::torque::CallRuntimeInstruction::AppendSuccessorBlocks ( std::vector< Block * > * block_list) const
inlineoverridevirtual

Reimplemented from v8::internal::torque::InstructionBase.

Definition at line 615 of file instructions.h.

◆ GetExceptionObjectDefinition()

std::optional< DefinitionLocation > v8::internal::torque::CallRuntimeInstruction::GetExceptionObjectDefinition ( ) const

Definition at line 572 of file instructions.cc.

Here is the call graph for this function:

◆ GetValueDefinition()

DefinitionLocation v8::internal::torque::CallRuntimeInstruction::GetValueDefinition ( std::size_t index) const

Definition at line 565 of file instructions.cc.

Here is the call graph for this function:

◆ GetValueDefinitionCount()

std::size_t v8::internal::torque::CallRuntimeInstruction::GetValueDefinitionCount ( ) const

Definition at line 559 of file instructions.cc.

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

◆ IsBlockTerminator()

bool v8::internal::torque::CallRuntimeInstruction::IsBlockTerminator ( ) const
overridevirtual

Reimplemented from v8::internal::torque::InstructionBase.

Definition at line 803 of file instructions.cc.

Here is the call graph for this function:

Member Data Documentation

◆ argc

size_t v8::internal::torque::CallRuntimeInstruction::argc

Definition at line 625 of file instructions.h.

◆ catch_block

std::optional<Block*> v8::internal::torque::CallRuntimeInstruction::catch_block

Definition at line 626 of file instructions.h.

◆ is_tailcall

bool v8::internal::torque::CallRuntimeInstruction::is_tailcall

Definition at line 623 of file instructions.h.

◆ runtime_function

RuntimeFunction* v8::internal::torque::CallRuntimeInstruction::runtime_function

Definition at line 624 of file instructions.h.


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