|
CACAO
|
Public Member Functions | |
| StackSlotManager () | |
| ~StackSlotManager () | |
| ManagedStackSlot * | create_slot (Type::TypeID type) |
| Create a ManagedStackSlot. More... | |
| ManagedStackSlot * | create_argument_slot (Type::TypeID type, u4 index) |
| Create a ManagedStackSlot for an invocation argument. More... | |
| void | finalize () |
| Assigns each ManagedStackSlot a position in the virtual frame. More... | |
| u4 | get_frame_size () const |
| u4 | get_number_of_machine_slots () const |
Private Types | |
| typedef alloc::vector < ManagedStackSlot * >::type | SlotListTy |
Private Attributes | |
| SlotListTy | slots |
| SlotListTy | argument_slots |
| u4 | number_of_machine_argument_slots |
| The number of argument slots at machine-level. More... | |
The StackSlotManger is used to manage slots for spilled registers etc.
Definition at line 47 of file StackSlotManager.hpp.
|
private |
Definition at line 49 of file StackSlotManager.hpp.
|
inline |
Definition at line 60 of file StackSlotManager.hpp.
| cacao::jit::compiler2::StackSlotManager::~StackSlotManager | ( | ) |
Definition at line 35 of file StackSlotManager.cpp.
| ManagedStackSlot * cacao::jit::compiler2::StackSlotManager::create_argument_slot | ( | Type::TypeID | type, |
| u4 | index | ||
| ) |
Create a ManagedStackSlot for an invocation argument.
| type | The slot's type. |
| index | The index of the invocation argument for which this slot is used. |
Definition at line 54 of file StackSlotManager.cpp.
| ManagedStackSlot * cacao::jit::compiler2::StackSlotManager::create_slot | ( | Type::TypeID | type | ) |
Create a ManagedStackSlot.
| type | The slot's type. |
Definition at line 49 of file StackSlotManager.cpp.
| void cacao::jit::compiler2::StackSlotManager::finalize | ( | ) |
Assigns each ManagedStackSlot a position in the virtual frame.
Definition at line 62 of file StackSlotManager.cpp.
| u4 cacao::jit::compiler2::StackSlotManager::get_frame_size | ( | ) | const |
Definition at line 69 of file StackSlotManager.cpp.
| u4 cacao::jit::compiler2::StackSlotManager::get_number_of_machine_slots | ( | ) | const |
Definition at line 73 of file StackSlotManager.cpp.
|
private |
Definition at line 52 of file StackSlotManager.hpp.
|
private |
The number of argument slots at machine-level.
Definition at line 57 of file StackSlotManager.hpp.
|
private |
Definition at line 51 of file StackSlotManager.hpp.
1.8.5