v8  3.14.5(node0.10.28)
V8 is Google's open source JavaScript engine
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
SparseSet Class Reference

Public Member Functions

 SparseSet (Zone *zone, int capacity)
 
bool Contains (int n) const
 
bool Add (int n)
 
void Clear ()
 

Detailed Description

Definition at line 1669 of file hydrogen.cc.

Constructor & Destructor Documentation

SparseSet ( Zone zone,
int  capacity 
)
inline

Definition at line 1671 of file hydrogen.cc.

Member Function Documentation

bool Add ( int  n)
inline

Definition at line 1688 of file hydrogen.cc.

References SparseSet::Contains().

void Clear ( )
inline

Definition at line 1696 of file hydrogen.cc.

bool Contains ( int  n) const
inline

Definition at line 1682 of file hydrogen.cc.

References ASSERT.

Referenced by SparseSet::Add().


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