V8 Project
v8::internal::NestedEffects< Var, kNoVar > Class Template Reference

#include <effects.h>

+ Inheritance diagram for v8::internal::NestedEffects< Var, kNoVar >:
+ Collaboration diagram for v8::internal::NestedEffects< Var, kNoVar >:

Public Member Functions

 NestedEffects (Zone *zone)
 
NestedEffects Push ()
 
NestedEffects Pop ()
 
- Public Member Functions inherited from v8::internal::EffectsMixin< Var, NestedEffectsBase< Var, kNoVar >, Effects< Var, kNoVar > >
 EffectsMixin (Zone *zone)
 
Effect Lookup (Var var)
 
Bounds LookupBounds (Var var)
 
void Seq (Var var, Effect effect)
 
void Seq (Effects< Var, kNoVar > that)
 
void Alt (Var var, Effect effect)
 
void Alt (Effects< Var, kNoVar > that)
 
void Forget ()
 
- Public Member Functions inherited from v8::internal::NestedEffectsBase< Var, kNoVar >
 NestedEffectsBase (Zone *zone)
 
template<class Callback >
void ForEach (Callback *callback)
 
Effects< Var, kNoVar > Top ()
 
bool IsEmpty ()
 

Additional Inherited Members

- Protected Types inherited from v8::internal::EffectsMixin< Var, NestedEffectsBase< Var, kNoVar >, Effects< Var, kNoVar > >
typedef Base::Locator Locator
 
- Protected Types inherited from v8::internal::NestedEffectsBase< Var, kNoVar >
typedef EffectsBase< Var, kNoVar >::Locator Locator
 
- Protected Member Functions inherited from v8::internal::NestedEffectsBase< Var, kNoVar >
Zonezone ()
 
void push ()
 
void pop ()
 
bool is_empty ()
 
bool Contains (Var var)
 
bool Find (Var var, Locator *locator)
 
bool Insert (Var var, Locator *locator)
 

Detailed Description

template<class Var, Var kNoVar>
class v8::internal::NestedEffects< Var, kNoVar >

Definition at line 311 of file effects.h.

Constructor & Destructor Documentation

◆ NestedEffects()

template<class Var , Var kNoVar>
v8::internal::NestedEffects< Var, kNoVar >::NestedEffects ( Zone zone)
inlineexplicit

Definition at line 314 of file effects.h.

314  :
315  EffectsMixin<Var, NestedEffectsBase<Var, kNoVar>, Effects<Var, kNoVar> >(
316  zone) {}

Member Function Documentation

◆ Pop()

template<class Var , Var kNoVar>
NestedEffects v8::internal::NestedEffects< Var, kNoVar >::Pop ( )
inline

Definition at line 326 of file effects.h.

326  {
327  NestedEffects result = *this;
328  result.pop();
329  DCHECK(!this->is_empty());
330  return result;
331  }
NestedEffects(Zone *zone)
Definition: effects.h:314
#define DCHECK(condition)
Definition: logging.h:205

References DCHECK, v8::internal::NestedEffectsBase< Var, kNoVar >::is_empty(), and v8::internal::NestedEffectsBase< Var, kNoVar >::pop().

Referenced by v8::internal::AstTyper::ExitEffects().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ Push()

template<class Var , Var kNoVar>
NestedEffects v8::internal::NestedEffects< Var, kNoVar >::Push ( )
inline

Definition at line 320 of file effects.h.

320  {
321  NestedEffects result = *this;
322  result.push();
323  return result;
324  }

References v8::internal::NestedEffectsBase< Var, kNoVar >::push().

Referenced by v8::internal::AstTyper::EnterEffects().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

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