#include <object.h>
Definition at line 10032 of file object.h.
◆ Hash()
static uword dart::SmiTraits::Hash |
( |
const Object & |
obj | ) |
|
|
inlinestatic |
Definition at line 10041 of file object.h.
10041{ return Smi::Cast(obj).Value(); }
◆ IsMatch()
static bool dart::SmiTraits::IsMatch |
( |
const Object & |
a, |
|
|
const Object & |
b |
|
) |
| |
|
inlinestatic |
Definition at line 10037 of file object.h.
10037 {
10038 return Smi::Cast(
a).Value() == Smi::Cast(
b).Value();
10039 }
◆ Name()
static const char * dart::SmiTraits::Name |
( |
| ) |
|
|
inlinestatic |
Definition at line 10034 of file object.h.
10034{ 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