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
BitVector Class Reference

#include <data-flow.h>

Inheritance diagram for BitVector:
Collaboration diagram for BitVector:

Data Structures

class  BASE_EMBEDDED
 

Public Member Functions

 BitVector (int length, Zone *zone)
 
 BitVector (const BitVector &other, Zone *zone)
 
BitVectoroperator= (const BitVector &rhs)
 
void CopyFrom (const BitVector &other)
 
bool Contains (int i) const
 
void Add (int i)
 
void Remove (int i)
 
void Union (const BitVector &other)
 
bool UnionIsChanged (const BitVector &other)
 
void Intersect (const BitVector &other)
 
void Subtract (const BitVector &other)
 
void Clear ()
 
bool IsEmpty () const
 
bool Equals (const BitVector &other)
 
int length () const
 
- Public Member Functions inherited from ZoneObject
 INLINE (void *operator new(size_t size, Zone *zone))
 
void operator delete (void *, size_t)
 
void operator delete (void *pointer, Zone *zone)
 

Static Public Member Functions

static int SizeFor (int length)
 

Detailed Description

Definition at line 41 of file data-flow.h.

Constructor & Destructor Documentation

BitVector ( int  length,
Zone zone 
)
inline

Definition at line 88 of file data-flow.h.

References ASSERT, and BitVector::Clear().

BitVector ( const BitVector other,
Zone zone 
)
inline

Definition at line 96 of file data-flow.h.

References BitVector::CopyFrom().

Member Function Documentation

void Clear ( )
inline

Definition at line 170 of file data-flow.h.

Referenced by BitVector::BitVector(), and HGraph::ComputeMinusZeroChecks().

bool Contains ( int  i) const
inline
void CopyFrom ( const BitVector other)
inline

Definition at line 112 of file data-flow.h.

References ASSERT, and BitVector::length().

Referenced by BitVector::BitVector(), and BitVector::operator=().

bool Equals ( const BitVector other)
inline

Definition at line 183 of file data-flow.h.

void Intersect ( const BitVector other)
inline

Definition at line 156 of file data-flow.h.

References ASSERT, and BitVector::length().

Referenced by TEST().

bool IsEmpty ( ) const
inline

Definition at line 176 of file data-flow.h.

Referenced by HGraph::ComputeMinusZeroChecks().

BitVector& operator= ( const BitVector rhs)
inline

Definition at line 107 of file data-flow.h.

References BitVector::CopyFrom().

void Remove ( int  i)
inline

Definition at line 133 of file data-flow.h.

References ASSERT, BitVector::length(), and v8::internal::U.

Referenced by TEST().

static int SizeFor ( int  length)
inlinestatic

Definition at line 103 of file data-flow.h.

void Subtract ( const BitVector other)
inline

Definition at line 163 of file data-flow.h.

References ASSERT, and BitVector::length().

void Union ( const BitVector other)
inline

Definition at line 138 of file data-flow.h.

References ASSERT, and BitVector::length().

Referenced by TEST().

bool UnionIsChanged ( const BitVector other)
inline

Definition at line 145 of file data-flow.h.

References ASSERT, and BitVector::length().


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