#include <RexxActivationStack.hpp>
Public Types | |
enum | { DefaultFrameBufferSize = 2048 } |
Public Member Functions | |
void * | operator new (size_t size, void *ptr) |
RexxActivationStack () | |
void | live (size_t) |
void | liveGeneral (int reason) |
void | init () |
void | expandCapacity (size_t entries) |
void | ensureCapacity (size_t entries) |
RexxObject ** | allocateFrame (size_t entries) |
void | releaseFrame (RexxObject **frame) |
Protected Attributes | |
RexxActivationFrameBuffer * | current |
RexxActivationFrameBuffer * | unused |
Definition at line 101 of file RexxActivationStack.hpp.
anonymous enum |
Enumerator | |
---|---|
DefaultFrameBufferSize |
Definition at line 104 of file RexxActivationStack.hpp.
|
inline |
Definition at line 107 of file RexxActivationStack.hpp.
|
inline |
Definition at line 115 of file RexxActivationStack.hpp.
References RexxActivationFrameBuffer::allocateFrame(), current, and ensureCapacity().
Referenced by RexxActivity::allocateFrame(), RexxActivity::allocateLocalVariableFrame(), and RexxActivity::allocateStackFrame().
|
inline |
Definition at line 114 of file RexxActivationStack.hpp.
References current, expandCapacity(), and RexxActivationFrameBuffer::hasCapacity().
Referenced by allocateFrame().
void RexxActivationStack::expandCapacity | ( | size_t | entries | ) |
Definition at line 117 of file RexxActivationStack.cpp.
References current, DefaultFrameBufferSize, RexxActivationFrameBuffer::hasCapacity(), Numerics::maxVal(), new_activationFrameBuffer(), OREF_NULL, RexxActivationFrameBuffer::push(), and unused.
Referenced by ensureCapacity().
void RexxActivationStack::init | ( | void | ) |
Definition at line 107 of file RexxActivationStack.cpp.
References current, DefaultFrameBufferSize, new_activationFrameBuffer(), OREF_NULL, and unused.
Referenced by RexxActivity::RexxActivity().
void RexxActivationStack::live | ( | size_t | liveMark | ) |
Definition at line 89 of file RexxActivationStack.cpp.
References current, memory_mark, and unused.
Referenced by RexxActivity::live().
void RexxActivationStack::liveGeneral | ( | int | reason | ) |
Definition at line 98 of file RexxActivationStack.cpp.
References current, memory_mark_general, and unused.
Referenced by RexxActivity::liveGeneral().
|
inline |
Definition at line 106 of file RexxActivationStack.hpp.
|
inline |
Definition at line 122 of file RexxActivationStack.hpp.
References RexxActivationFrameBuffer::contains(), current, RexxActivationFrameBuffer::getPrevious(), OREF_NULL, RexxActivationFrameBuffer::releaseFrame(), RexxActivationFrameBuffer::reset(), and unused.
Referenced by RexxActivity::releaseStackFrame().
|
protected |
Definition at line 145 of file RexxActivationStack.hpp.
Referenced by allocateFrame(), ensureCapacity(), expandCapacity(), init(), live(), liveGeneral(), and releaseFrame().
|
protected |
Definition at line 146 of file RexxActivationStack.hpp.
Referenced by expandCapacity(), init(), live(), liveGeneral(), and releaseFrame().