V8 Project
v8::internal::compiler::StaticParameterTraits< T > Struct Template Reference

#include <operator.h>

+ Collaboration diagram for v8::internal::compiler::StaticParameterTraits< T >:

Static Public Member Functions

static OStreamPrintTo (OStream &os, T val)
 
static int HashCode (T a)
 
static bool Equals (T a, T b)
 

Detailed Description

template<typename T>
struct v8::internal::compiler::StaticParameterTraits< T >

Definition at line 135 of file operator.h.

Member Function Documentation

◆ Equals()

template<typename T >
static bool v8::internal::compiler::StaticParameterTraits< T >::Equals ( T  a,
T  b 
)
inlinestatic

Definition at line 140 of file operator.h.

140  {
141  return false; // Not every T has a ==. By default, be conservative.
142  }

Referenced by v8::internal::compiler::Operator1< T >::Equals().

+ Here is the caller graph for this function:

◆ HashCode()

template<typename T >
static int v8::internal::compiler::StaticParameterTraits< T >::HashCode ( T  a)
inlinestatic

Definition at line 139 of file operator.h.

139 { return 0; }

Referenced by v8::internal::compiler::Operator1< T >::HashCode().

+ Here is the caller graph for this function:

◆ PrintTo()

template<typename T >
static OStream& v8::internal::compiler::StaticParameterTraits< T >::PrintTo ( OStream os,
T  val 
)
inlinestatic

Definition at line 136 of file operator.h.

136  { // NOLINT
137  return os << "??";
138  }

Referenced by v8::internal::operator<<(), and v8::internal::compiler::Operator1< T >::PrintParameter().

+ Here is the caller graph for this function:

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