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

#include <asm-types.h>

Inheritance diagram for v8::internal::wasm::AsmFunctionType:
Collaboration diagram for v8::internal::wasm::AsmFunctionType:

Public Member Functions

 AsmFunctionType (const AsmFunctionType &)=delete
 
AsmFunctionTypeoperator= (const AsmFunctionType &)=delete
 
AsmFunctionTypeAsFunctionType () final
 
void AddArgument (AsmType *type)
 
const ZoneVector< AsmType * > & Arguments () const
 
AsmTypeReturnType () const
 
bool CanBeInvokedWith (AsmType *return_type, const ZoneVector< AsmType * > &args) override
 
- Public Member Functions inherited from v8::internal::wasm::AsmCallableType
 AsmCallableType (const AsmCallableType &)=delete
 
AsmCallableTypeoperator= (const AsmCallableType &)=delete
 

Protected Member Functions

 AsmFunctionType (Zone *zone, AsmType *return_type)
 
- Protected Member Functions inherited from v8::internal::wasm::AsmCallableType
 AsmCallableType ()=default
 
virtual ~AsmCallableType ()=default
 

Private Member Functions

std::string Name () override
 
bool IsA (AsmType *other) override
 

Private Attributes

friend AsmType
 
friend Zone
 
AsmTypereturn_type_
 
ZoneVector< AsmType * > args_
 

Detailed Description

Definition at line 125 of file asm-types.h.

Constructor & Destructor Documentation

◆ AsmFunctionType() [1/2]

v8::internal::wasm::AsmFunctionType::AsmFunctionType ( const AsmFunctionType & )
delete

◆ AsmFunctionType() [2/2]

v8::internal::wasm::AsmFunctionType::AsmFunctionType ( Zone * zone,
AsmType * return_type )
inlineprotected

Definition at line 140 of file asm-types.h.

Member Function Documentation

◆ AddArgument()

void v8::internal::wasm::AsmFunctionType::AddArgument ( AsmType * type)
inline

Definition at line 132 of file asm-types.h.

◆ Arguments()

const ZoneVector< AsmType * > & v8::internal::wasm::AsmFunctionType::Arguments ( ) const
inline

Definition at line 133 of file asm-types.h.

◆ AsFunctionType()

AsmFunctionType * v8::internal::wasm::AsmFunctionType::AsFunctionType ( )
inlinefinal

Definition at line 130 of file asm-types.h.

◆ CanBeInvokedWith()

bool v8::internal::wasm::AsmFunctionType::CanBeInvokedWith ( AsmType * return_type,
const ZoneVector< AsmType * > & args )
overridevirtual

Implements v8::internal::wasm::AsmCallableType.

Definition at line 258 of file asm-types.cc.

Here is the call graph for this function:

◆ IsA()

bool v8::internal::wasm::AsmFunctionType::IsA ( AsmType * other)
overrideprivatevirtual

Reimplemented from v8::internal::wasm::AsmCallableType.

Definition at line 236 of file asm-types.cc.

Here is the call graph for this function:

◆ Name()

std::string v8::internal::wasm::AsmFunctionType::Name ( )
overrideprivatevirtual

Implements v8::internal::wasm::AsmCallableType.

Definition at line 143 of file asm-types.cc.

Here is the call graph for this function:

◆ operator=()

AsmFunctionType & v8::internal::wasm::AsmFunctionType::operator= ( const AsmFunctionType & )
delete

◆ ReturnType()

AsmType * v8::internal::wasm::AsmFunctionType::ReturnType ( ) const
inline

Definition at line 134 of file asm-types.h.

Member Data Documentation

◆ args_

ZoneVector<AsmType*> v8::internal::wasm::AsmFunctionType::args_
private

Definition at line 151 of file asm-types.h.

◆ AsmType

friend v8::internal::wasm::AsmFunctionType::AsmType
private

Definition at line 144 of file asm-types.h.

◆ return_type_

AsmType* v8::internal::wasm::AsmFunctionType::return_type_
private

Definition at line 150 of file asm-types.h.

◆ Zone

friend v8::internal::wasm::AsmFunctionType::Zone
private

Definition at line 145 of file asm-types.h.


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