Gnash  0.8.11dev
Public Member Functions | List of all members
gnash::FrameGuard Class Reference

#include <VM.h>

Public Member Functions

 FrameGuard (VM &vm, UserFunction &func)
 
CallFramecallFrame ()
 Get the CallFrame we've just pushed. More...
 
 ~FrameGuard ()
 

Detailed Description

A class to wrap frame access. Stack allocating a frame guard will ensure that all CallFrame pushes have a corresponding CallFrame pop, even in the presence of extraordinary returns.

Constructor & Destructor Documentation

§ FrameGuard()

gnash::FrameGuard::FrameGuard ( VM vm,
UserFunction func 
)
inline

§ ~FrameGuard()

gnash::FrameGuard::~FrameGuard ( )
inline

Member Function Documentation

§ callFrame()

CallFrame& gnash::FrameGuard::callFrame ( )
inline

Get the CallFrame we've just pushed.

Referenced by gnash::Function2::call(), and gnash::Function::call().


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