Gnash
0.8.10
|
#include <VM.h>
Public Member Functions | |
FrameGuard (VM &vm, UserFunction &func) | |
CallFrame & | callFrame () |
Get the CallFrame we've just pushed. | |
~FrameGuard () |
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.
gnash::FrameGuard::FrameGuard | ( | VM & | vm, |
UserFunction & | func | ||
) | [inline] |
gnash::FrameGuard::~FrameGuard | ( | ) | [inline] |
References gnash::VM::popCallFrame().
CallFrame& gnash::FrameGuard::callFrame | ( | ) | [inline] |
Get the CallFrame we've just pushed.
Referenced by gnash::Function::call(), and gnash::Function2::call().