Flutter Engine
The Flutter Engine
Static Public Member Functions | List of all members
dart::CodeTraits Class Reference

Static Public Member Functions

static const char * Name ()
 
static bool ReportStats ()
 
static bool IsMatch (const Object &a, const Object &b)
 
static uword Hash (const Object &key)
 

Detailed Description

Definition at line 17 of file weak_code.cc.

Member Function Documentation

◆ Hash()

static uword dart::CodeTraits::Hash ( const Object key)
inlinestatic

Definition at line 24 of file weak_code.cc.

24{ return Code::Cast(key).Hash(); }

◆ IsMatch()

static bool dart::CodeTraits::IsMatch ( const Object a,
const Object b 
)
inlinestatic

Definition at line 21 of file weak_code.cc.

21 {
22 return a.ptr() == b.ptr();
23 }
static bool b
struct MyStruct a[10]

◆ Name()

static const char * dart::CodeTraits::Name ( )
inlinestatic

Definition at line 19 of file weak_code.cc.

19{ return "CodeTraits"; }

◆ ReportStats()

static bool dart::CodeTraits::ReportStats ( )
inlinestatic

Definition at line 20 of file weak_code.cc.

20{ return false; }

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