#include <object.h>
Definition at line 10053 of file object.h.
◆ Hash()
static uword dart::SmiTraits::Hash |
( |
const Object & |
obj | ) |
|
|
inlinestatic |
Definition at line 10062 of file object.h.
10062{ return Smi::Cast(obj).Value(); }
◆ IsMatch()
static bool dart::SmiTraits::IsMatch |
( |
const Object & |
a, |
|
|
const Object & |
b |
|
) |
| |
|
inlinestatic |
Definition at line 10058 of file object.h.
10058 {
10059 return Smi::Cast(
a).Value() == Smi::Cast(
b).Value();
10060 }
◆ Name()
static const char * dart::SmiTraits::Name |
( |
| ) |
|
|
inlinestatic |
Definition at line 10055 of file object.h.
10055{ return "SmiTraits"; }
◆ ReportStats()
static bool dart::SmiTraits::ReportStats |
( |
| ) |
|
|
inlinestatic |
The documentation for this class was generated from the following file:
- third_party/dart-lang/sdk/runtime/vm/object.h