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

Static Public Member Functions

static OStreamPrintTo (OStream &os, const FieldAccess &val)
 
static int HashCode (const FieldAccess &val)
 
static bool Equals (const FieldAccess &lhs, const FieldAccess &rhs)
 

Detailed Description

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

Member Function Documentation

◆ Equals()

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

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

73  {
74  return lhs.base_is_tagged == rhs.base_is_tagged &&
75  lhs.offset == rhs.offset && lhs.machine_type == rhs.machine_type &&
76  lhs.type->Is(rhs.type);
77  }

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

+ Here is the call graph for this function:

◆ HashCode()

static int v8::internal::compiler::StaticParameterTraits< FieldAccess >::HashCode ( const FieldAccess val)
inlinestatic

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

70  {
71  return (val.offset < 16) | (val.machine_type & 0xffff);
72  }

References v8::internal::compiler::FieldAccess::machine_type, and v8::internal::compiler::FieldAccess::offset.

◆ PrintTo()

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

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

67  {
68  return os << val.offset;
69  }

References v8::internal::compiler::FieldAccess::offset.


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