v8  3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
EnumSet< E, T > Class Template Reference

#include <utils.h>

Public Member Functions

 EnumSet (T bits=0)
 
bool IsEmpty () const
 
bool Contains (E element) const
 
bool ContainsAnyOf (const EnumSet &set) const
 
void Add (E element)
 
void Add (const EnumSet &set)
 
void Remove (E element)
 
void Remove (const EnumSet &set)
 
void RemoveAll ()
 
void Intersect (const EnumSet &set)
 
T ToIntegral () const
 
bool operator== (const EnumSet &set)
 
bool operator!= (const EnumSet &set)
 
EnumSet< E, Toperator| (const EnumSet &set) const
 

Detailed Description

template<class E, class T = int>
class v8::internal::EnumSet< E, T >

Definition at line 1051 of file utils.h.

Constructor & Destructor Documentation

EnumSet ( T  bits = 0)
inlineexplicit

Definition at line 1053 of file utils.h.

Member Function Documentation

void Add ( const EnumSet< E, T > &  set)
inline

Definition at line 1060 of file utils.h.

bool Contains ( element) const
inline
bool ContainsAnyOf ( const EnumSet< E, T > &  set) const
inline

Definition at line 1056 of file utils.h.

Referenced by HValue::HasObservableSideEffects(), and HValue::HasSideEffects().

void Intersect ( const EnumSet< E, T > &  set)
inline

Definition at line 1064 of file utils.h.

Referenced by HValue::ObservableChangesFlags(), and HValue::SideEffectFlags().

bool IsEmpty ( ) const
inline

Definition at line 1054 of file utils.h.

Referenced by ToBooleanStub::GetICState(), and HValue::PrintChangesTo().

bool operator!= ( const EnumSet< E, T > &  set)
inline

Definition at line 1067 of file utils.h.

bool operator== ( const EnumSet< E, T > &  set)
inline

Definition at line 1066 of file utils.h.

EnumSet<E, T> operator| ( const EnumSet< E, T > &  set) const
inline

Definition at line 1068 of file utils.h.

void Remove ( const EnumSet< E, T > &  set)
inline

Definition at line 1062 of file utils.h.

void RemoveAll ( )
inline

Definition at line 1063 of file utils.h.

Referenced by HStoreEliminationPhase::Run().

T ToIntegral ( ) const
inline

Definition at line 1065 of file utils.h.

Referenced by ToBooleanStub::GetExtraICState(), and ToBooleanStub::Types::IsGeneric().


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