CACAO
|
Go to the source code of this file.
Data Structures | |
union | imm_union |
struct | java_object_t |
struct | java_array_t |
struct | java_booleanarray_t |
struct | java_bytearray_t |
struct | java_chararray_t |
struct | java_shortarray_t |
struct | java_intarray_t |
struct | java_longarray_t |
struct | java_floatarray_t |
struct | java_doublearray_t |
struct | java_objectarray_t |
Macros | |
#define | ALIGN_EVEN(a) ((a) = (((a) + 1) & ~1)) |
#define | ALIGN_ODD(a) ((a) = (a) | 1 ) |
#define | ALIGN_2(a) ALIGN_EVEN(a) |
#define | PRINTF_INTPTR_NUM_HEXDIGITS "16" |
#define | STR(a) #a |
#define | MIN(a, b) (((a) < (b)) ? (a) : (b)) |
#define | MAX(a, b) (((a) > (b)) ? (a) : (b)) |
#define | MAX_ALIGN 8 /* most generic alignment for JavaVM values */ |
#define | IS_INT_LNG_TYPE(a) (!((a) & TYPE_FLT)) |
#define | IS_FLT_DBL_TYPE(a) ((a) & TYPE_FLT) |
#define | IS_2_WORD_TYPE(a) ((a) & TYPE_LNG) |
#define | IS_INT_TYPE(a) ((a) == TYPE_INT) |
#define | IS_LNG_TYPE(a) ((a) == TYPE_LNG) |
#define | IS_FLT_TYPE(a) ((a) == TYPE_FLT) |
#define | IS_DBL_TYPE(a) ((a) == TYPE_DBL) |
#define | IS_ADR_TYPE(a) ((a) == TYPE_ADR) |
#define | IS_VOID_TYPE(a) ((a) == TYPE_VOID) |
#define | JAVA_VERSION "1.6.0" /* this version is supported by CACAO */ |
#define | CLASS_VERSION "51.0" |
#define | MAGIC 0xCAFEBABE |
#define | MAJOR_VERSION 51 |
#define | MINOR_VERSION 0 |
#define | VERIFIER_EXTRA_LOCALS 1 |
#define | VERIFIER_EXTRA_VARS 1 |
#define | STACK_EXTRA_VARS 0 |
#define ALIGN_2 | ( | a | ) | ALIGN_EVEN(a) |
Definition at line 72 of file global.hpp.
#define ALIGN_EVEN | ( | a | ) | ((a) = (((a) + 1) & ~1)) |
Definition at line 69 of file global.hpp.
#define ALIGN_ODD | ( | a | ) | ((a) = (a) | 1 ) |
Definition at line 70 of file global.hpp.
#define CLASS_VERSION "51.0" |
Definition at line 146 of file global.hpp.
#define IS_2_WORD_TYPE | ( | a | ) | ((a) & TYPE_LNG) |
Definition at line 132 of file global.hpp.
#define IS_ADR_TYPE | ( | a | ) | ((a) == TYPE_ADR) |
Definition at line 138 of file global.hpp.
#define IS_DBL_TYPE | ( | a | ) | ((a) == TYPE_DBL) |
Definition at line 137 of file global.hpp.
#define IS_FLT_DBL_TYPE | ( | a | ) | ((a) & TYPE_FLT) |
Definition at line 131 of file global.hpp.
#define IS_FLT_TYPE | ( | a | ) | ((a) == TYPE_FLT) |
Definition at line 136 of file global.hpp.
#define IS_INT_LNG_TYPE | ( | a | ) | (!((a) & TYPE_FLT)) |
Definition at line 130 of file global.hpp.
#define IS_INT_TYPE | ( | a | ) | ((a) == TYPE_INT) |
Definition at line 134 of file global.hpp.
#define IS_LNG_TYPE | ( | a | ) | ((a) == TYPE_LNG) |
Definition at line 135 of file global.hpp.
#define IS_VOID_TYPE | ( | a | ) | ((a) == TYPE_VOID) |
Definition at line 140 of file global.hpp.
#define JAVA_VERSION "1.6.0" /* this version is supported by CACAO */ |
Definition at line 145 of file global.hpp.
#define MAGIC 0xCAFEBABE |
Definition at line 150 of file global.hpp.
#define MAJOR_VERSION 51 |
Definition at line 151 of file global.hpp.
#define MAX | ( | a, | |
b | |||
) | (((a) > (b)) ? (a) : (b)) |
Definition at line 99 of file global.hpp.
#define MAX_ALIGN 8 /* most generic alignment for JavaVM values */ |
Definition at line 102 of file global.hpp.
#define MIN | ( | a, | |
b | |||
) | (((a) < (b)) ? (a) : (b)) |
Definition at line 95 of file global.hpp.
#define MINOR_VERSION 0 |
Definition at line 152 of file global.hpp.
#define PRINTF_INTPTR_NUM_HEXDIGITS "16" |
Definition at line 80 of file global.hpp.
#define STACK_EXTRA_VARS 0 |
Definition at line 375 of file global.hpp.
#define STR | ( | a | ) | #a |
Definition at line 90 of file global.hpp.
#define VERIFIER_EXTRA_LOCALS 1 |
Definition at line 373 of file global.hpp.
#define VERIFIER_EXTRA_VARS 1 |
Definition at line 374 of file global.hpp.
Definition at line 39 of file global.hpp.
typedef struct java_array_t java_array_t |
typedef struct java_booleanarray_t java_booleanarray_t |
typedef struct java_bytearray_t java_bytearray_t |
typedef struct java_chararray_t java_chararray_t |
typedef struct java_doublearray_t java_doublearray_t |
typedef struct java_floatarray_t java_floatarray_t |
typedef java_handle_t java_handle_array_t |
Definition at line 353 of file global.hpp.
Definition at line 355 of file global.hpp.
Definition at line 356 of file global.hpp.
Definition at line 357 of file global.hpp.
Definition at line 362 of file global.hpp.
Definition at line 361 of file global.hpp.
Definition at line 359 of file global.hpp.
Definition at line 360 of file global.hpp.
Definition at line 354 of file global.hpp.
Definition at line 358 of file global.hpp.
typedef java_object_t java_handle_t |
Definition at line 352 of file global.hpp.
typedef struct java_intarray_t java_intarray_t |
typedef struct java_longarray_t java_longarray_t |
typedef struct java_shortarray_t java_shortarray_t |
Definition at line 40 of file global.hpp.
anonymous enum |
Definition at line 187 of file global.hpp.
enum ClassFlag |
Definition at line 214 of file global.hpp.
enum ConstantPoolTag |
Types for entries of a classes constant pool.
Definition at line 162 of file global.hpp.
enum HeaderFlag |
All objects (and arrays) which resides on the heap need the following header at the beginning of the data structure.
TODO: Include detailed description from the Wiki (ObjectHeader) here.
Enumerator | |
---|---|
HDRFLAG_MARK1 | |
HDRFLAG_MARK2 | |
HDRFLAG_UNCOLLECTABLE | |
HDRFLAG_HASH_TAKEN | |
HDRFLAG_HASH_ATTACHED | |
HDRFLAG_REFERENCING |
Definition at line 252 of file global.hpp.
enum MethodFlag |
Enumerator | |
---|---|
ACC_METHOD_BUILTIN | |
ACC_METHOD_IMPLEMENTED | |
ACC_METHOD_MONOMORPHIC | |
ACC_METHOD_EA | |
ACC_METHOD_MONOMORPHY_USED | |
ACC_METHOD_PARENT_MONOMORPHY_USED |
Definition at line 231 of file global.hpp.
enum Type |
Types used internally by JITTED code.
The JavaVM types must numbered in the same order as the ICMD_Ixxx to ICMD_Axxx instructions (LOAD and STORE). All other types can be numbered arbitrarily.
Enumerator | |
---|---|
TYPE_INT | |
TYPE_LNG | |
TYPE_FLT | |
TYPE_DBL | |
TYPE_ADR | |
TYPE_RET | |
TYPE_VOID |
Definition at line 117 of file global.hpp.