#include <canonical_tables.h>
Definition at line 267 of file canonical_tables.h.
◆ Hash() [1/2]
◆ Hash() [2/2]
static uword dart::CanonicalTypeParameterTraits::Hash |
( |
const Object & |
key | ) |
|
|
inlinestatic |
◆ IsMatch() [1/2]
◆ IsMatch() [2/2]
static bool dart::CanonicalTypeParameterTraits::IsMatch |
( |
const Object & |
a, |
|
|
const Object & |
b |
|
) |
| |
|
inlinestatic |
Definition at line 273 of file canonical_tables.h.
273 {
274 ASSERT(
a.IsTypeParameter() &&
b.IsTypeParameter());
275 const TypeParameter& arg1 = TypeParameter::Cast(
a);
276 const TypeParameter& arg2 = TypeParameter::Cast(
b);
277 return arg1.Equals(arg2) && (arg1.Hash() == arg2.Hash());
278 }
◆ Name()
static const char * dart::CanonicalTypeParameterTraits::Name |
( |
| ) |
|
|
inlinestatic |
◆ NewKey()
◆ ReportStats()
static bool dart::CanonicalTypeParameterTraits::ReportStats |
( |
| ) |
|
|
inlinestatic |
The documentation for this class was generated from the following file: