#include <interp_defs.h>
Public Member Functions | |
| Locals () | |
| The empty constructor. | |
| ~Locals () | |
| The desctructor. | |
| void | init (void *ptr, uint32 size) |
| Initializes the stack of a method. | |
| Value & | operator() (uint32 id) |
| Returns the reference to the local variable of the specifie ID. | |
| void | setLong (int idx, Value2 val) |
Sets the value of an object of the Long or Double type contained in two adjacent elements. | |
| Value2 | getLong (int idx) |
Returns the value of an object of the Long or Double type contained in two adjacent elements. | |
| uint8 & | ref (uint32 id) |
| Returns the reference to the type of the local variable. | |
| uint32 | getLocalsNumber () |
| Returns the number of local variables in this object. | |
Static Public Member Functions | |
| static int | getStorageSize (int size) |
| Returns the size of the allocated locals area by its size in elements. | |
Friends | |
| void | interp_enumerate_root_set_single_thread_on_stack (VM_thread *) |
| Enumerates references associated with the thread. | |
| void | interp_ti_enumerate_root_set_single_thread_on_stack (jvmtiEnv *ti_env, VM_thread *thread) |
| Enumerates references associated with the thread. | |
| Locals.Locals | ( | ) |
The empty constructor.
| Locals::~Locals | ( | ) |
The desctructor.
| void Locals::init | ( | void * | ptr, | |
| uint32 | size | |||
| ) |
Initializes the stack of a method.
| [in] | ptr | - the pointer to the data |
| [in] | size | - the locals size value |
| Value & Locals::operator() | ( | uint32 | id | ) |
Returns the reference to the local variable of the specifie ID.
| [in] | id | - the local variable ID |
| void Locals::setLong | ( | int | idx, | |
| Value2 | val | |||
| ) |
Sets the value of an object of the Long or Double type contained in two adjacent elements.
| [in] | idx | - the local variable number |
| [in] | val | - the local variable value |
| Value2 Locals::getLong | ( | int | idx | ) |
Returns the value of an object of the Long or Double type contained in two adjacent elements.
| [in] | idx | - the local variable number |
| uint8 & Locals::ref | ( | uint32 | id | ) |
Returns the reference to the type of the local variable.
| [in] | idx | - the local variable number |
| int Locals::getStorageSize | ( | int | size | ) | [static] |
Returns the size of the allocated locals area by its size in elements.
| [in] | size | - size of locals area in elements |
| uint32 Locals.getLocalsNumber | ( | ) |
Returns the number of local variables in this object.
| void interp_enumerate_root_set_single_thread_on_stack | ( | VM_thread * | ) | [friend] |
Enumerates references associated with the thread.
| [in] | VM_thread | - the pointer to the thread |
| void interp_ti_enumerate_root_set_single_thread_on_stack | ( | jvmtiEnv * | ti_env, | |
| VM_thread * | thread | |||
| ) | [friend] |
Enumerates references associated with the thread.
| [in] | ti_env | - the pointer to the jvmti environment |
| [in] | VM_thread | - the pointer to the thread |
Genereated on Tue Mar 11 19:25:37 2008 by Doxygen.
(c) Copyright 2005, 2008 The Apache Software Foundation or its licensors, as applicable.