V8 Project
v8::internal::compiler::StaticParameterTraits< ElementAccess > Struct Reference
+ Collaboration diagram for v8::internal::compiler::StaticParameterTraits< ElementAccess >:

Static Public Member Functions

static OStreamPrintTo (OStream &os, const ElementAccess &access)
 
static int HashCode (const ElementAccess &access)
 
static bool Equals (const ElementAccess &lhs, const ElementAccess &rhs)
 

Detailed Description

Definition at line 83 of file simplified-operator.cc.

Member Function Documentation

◆ Equals()

static bool v8::internal::compiler::StaticParameterTraits< ElementAccess >::Equals ( const ElementAccess lhs,
const ElementAccess rhs 
)
inlinestatic

Definition at line 90 of file simplified-operator.cc.

90  {
91  return lhs.base_is_tagged == rhs.base_is_tagged &&
92  lhs.header_size == rhs.header_size &&
93  lhs.machine_type == rhs.machine_type && lhs.type->Is(rhs.type);
94  }

References v8::internal::compiler::ElementAccess::base_is_tagged, v8::internal::compiler::ElementAccess::header_size, v8::internal::TypeImpl< Config >::Is(), v8::internal::compiler::ElementAccess::machine_type, and v8::internal::compiler::ElementAccess::type.

+ Here is the call graph for this function:

◆ HashCode()

static int v8::internal::compiler::StaticParameterTraits< ElementAccess >::HashCode ( const ElementAccess access)
inlinestatic

Definition at line 87 of file simplified-operator.cc.

87  {
88  return (access.header_size < 16) | (access.machine_type & 0xffff);
89  }

References v8::internal::compiler::ElementAccess::header_size, and v8::internal::compiler::ElementAccess::machine_type.

◆ PrintTo()

static OStream& v8::internal::compiler::StaticParameterTraits< ElementAccess >::PrintTo ( OStream os,
const ElementAccess access 
)
inlinestatic

Definition at line 84 of file simplified-operator.cc.

84  {
85  return os << access;
86  }

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