Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
dart::CidRange Struct Reference

#include <il.h>

Inheritance diagram for dart::CidRange:
dart::ZoneAllocated dart::TargetInfo

Public Member Functions

 CidRange (intptr_t cid_start_arg, intptr_t cid_end_arg)
 
 CidRange ()
 
bool IsSingleCid () const
 
bool Contains (intptr_t cid) const
 
int32_t Extent () const
 
intptr_t size () const
 
bool IsIllegalRange () const
 
 DISALLOW_COPY_AND_ASSIGN (CidRange)
 
- Public Member Functions inherited from dart::ZoneAllocated
 ZoneAllocated ()
 
void * operator new (size_t size)
 
void * operator new (size_t size, Zone *zone)
 
void operator delete (void *pointer)
 

Public Attributes

intptr_t cid_start
 
intptr_t cid_end
 

Detailed Description

Definition at line 202 of file il.h.

Constructor & Destructor Documentation

◆ CidRange() [1/2]

dart::CidRange::CidRange ( intptr_t  cid_start_arg,
intptr_t  cid_end_arg 
)
inline

Definition at line 203 of file il.h.

204 : cid_start(cid_start_arg), cid_end(cid_end_arg) {}
intptr_t cid_start
Definition il.h:220
intptr_t cid_end
Definition il.h:221

◆ CidRange() [2/2]

dart::CidRange::CidRange ( )
inline

Definition at line 205 of file il.h.

Member Function Documentation

◆ Contains()

bool dart::CidRange::Contains ( intptr_t  cid) const
inline

Definition at line 208 of file il.h.

208 {
209 return cid_start <= cid && cid <= cid_end;
210 }
const intptr_t cid

◆ DISALLOW_COPY_AND_ASSIGN()

dart::CidRange::DISALLOW_COPY_AND_ASSIGN ( CidRange  )

◆ Extent()

int32_t dart::CidRange::Extent ( ) const
inline

Definition at line 211 of file il.h.

211{ return cid_end - cid_start; }

◆ IsIllegalRange()

bool dart::CidRange::IsIllegalRange ( ) const
inline

Definition at line 216 of file il.h.

216 {
218 }

◆ IsSingleCid()

bool dart::CidRange::IsSingleCid ( ) const
inline

Definition at line 207 of file il.h.

207{ return cid_start == cid_end; }

◆ size()

intptr_t dart::CidRange::size ( ) const
inline

Definition at line 214 of file il.h.

214{ return cid_end - cid_start + 1; }

Member Data Documentation

◆ cid_end

intptr_t dart::CidRange::cid_end

Definition at line 221 of file il.h.

◆ cid_start

intptr_t dart::CidRange::cid_start

Definition at line 220 of file il.h.


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