CACAO
Public Member Functions | Private Types | Private Attributes
cacao::jit::compiler2::StackSlotManager Class Reference

StackSlot Manager. More...

Public Member Functions

 StackSlotManager ()
 
 ~StackSlotManager ()
 
ManagedStackSlotcreate_ManagedStackSlot (Type::TypeID type)
 create a new managed stack slot More...
 
u4 get_frame_size () const
 get the size of the stack frame in bytes More...
 
StackSlotget_StackSlot (ManagedStackSlot *MSS)
 get a stack slot from a managed stack slot More...
 

Private Types

typedef alloc::map
< ManagedStackSlot
*, StackSlot * >::type 
StackSlotListTy
 

Private Attributes

StackSlotListTy slots
 
s4 counter
 

Detailed Description

StackSlot Manager.

The StackSlot Manger is used to manage slote for spilled registers etc.

Definition at line 47 of file StackSlotManager.hpp.

Member Typedef Documentation

Definition at line 49 of file StackSlotManager.hpp.

Constructor & Destructor Documentation

cacao::jit::compiler2::StackSlotManager::StackSlotManager ( )
inline

Definition at line 53 of file StackSlotManager.hpp.

cacao::jit::compiler2::StackSlotManager::~StackSlotManager ( )

Definition at line 32 of file StackSlotManager.cpp.

Member Function Documentation

ManagedStackSlot * cacao::jit::compiler2::StackSlotManager::create_ManagedStackSlot ( Type::TypeID  type)

create a new managed stack slot

Definition at line 40 of file StackSlotManager.cpp.

u4 cacao::jit::compiler2::StackSlotManager::get_frame_size ( ) const

get the size of the stack frame in bytes

Definition at line 47 of file StackSlotManager.cpp.

StackSlot * cacao::jit::compiler2::StackSlotManager::get_StackSlot ( ManagedStackSlot MSS)

get a stack slot from a managed stack slot

Definition at line 53 of file StackSlotManager.cpp.

Field Documentation

s4 cacao::jit::compiler2::StackSlotManager::counter
private

Definition at line 51 of file StackSlotManager.hpp.

StackSlotListTy cacao::jit::compiler2::StackSlotManager::slots
private

Definition at line 50 of file StackSlotManager.hpp.


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