V8 Project
v8::internal::compiler::Signature< T > Class Template Reference

#include <machine-type.h>

+ Inheritance diagram for v8::internal::compiler::Signature< T >:
+ Collaboration diagram for v8::internal::compiler::Signature< T >:

Classes

class  Builder
 

Public Member Functions

 Signature (size_t return_count, size_t parameter_count, T *reps)
 
size_t return_count () const
 
size_t parameter_count () const
 
T GetParam (size_t index) const
 
T GetReturn (size_t index=0) const
 
- Public Member Functions inherited from v8::internal::ZoneObject
 INLINE (void *operator new(size_t size, Zone *zone))
 
void operator delete (void *, size_t)
 
void operator delete (void *pointer, Zone *zone)
 

Protected Attributes

size_t return_count_
 
size_t parameter_count_
 
Treps_
 

Detailed Description

template<typename T>
class v8::internal::compiler::Signature< T >

Definition at line 106 of file machine-type.h.

Constructor & Destructor Documentation

◆ Signature()

template<typename T >
v8::internal::compiler::Signature< T >::Signature ( size_t  return_count,
size_t  parameter_count,
T reps 
)
inline

Member Function Documentation

◆ GetParam()

template<typename T >
T v8::internal::compiler::Signature< T >::GetParam ( size_t  index) const
inline

◆ GetReturn()

template<typename T >
T v8::internal::compiler::Signature< T >::GetReturn ( size_t  index = 0) const
inline

Definition at line 121 of file machine-type.h.

121  {
122  DCHECK(index < return_count_);
123  return reps_[index];
124  }

References DCHECK, v8::internal::compiler::Signature< T >::reps_, and v8::internal::compiler::Signature< T >::return_count_.

◆ parameter_count()

template<typename T >
size_t v8::internal::compiler::Signature< T >::parameter_count ( ) const
inline

Definition at line 114 of file machine-type.h.

114 { return parameter_count_; }

References v8::internal::compiler::Signature< T >::parameter_count_.

Referenced by v8::internal::compiler::FINAL< kOperandKind, kNumCachedOperands >::CallDescriptor(), v8::internal::compiler::LinkageHelper< LinkageTraits >::GetSimplifiedCDescriptor(), and v8::internal::compiler::RawMachineAssembler::parameter_count().

+ Here is the caller graph for this function:

◆ return_count()

template<typename T >
size_t v8::internal::compiler::Signature< T >::return_count ( ) const
inline

Definition at line 113 of file machine-type.h.

113 { return return_count_; }

References v8::internal::compiler::Signature< T >::return_count_.

Referenced by v8::internal::compiler::FINAL< kOperandKind, kNumCachedOperands >::CallDescriptor(), and v8::internal::compiler::LinkageHelper< LinkageTraits >::GetSimplifiedCDescriptor().

+ Here is the caller graph for this function:

Member Data Documentation

◆ parameter_count_

template<typename T >
size_t v8::internal::compiler::Signature< T >::parameter_count_
protected

◆ reps_

◆ return_count_


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