v8  3.11.10(node0.8.26)
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 1442 of file hydrogen.cc.

Constructor & Destructor Documentation

SparseSet ( Zone zone,
int  capacity 
)
inline

Definition at line 1444 of file hydrogen.cc.

Member Function Documentation

bool Add ( int  n)
inline

Definition at line 1461 of file hydrogen.cc.

References SparseSet::Contains().

void Clear ( )
inline

Definition at line 1469 of file hydrogen.cc.

bool Contains ( int  n) const
inline

Definition at line 1455 of file hydrogen.cc.

References ASSERT.

Referenced by SparseSet::Add().


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