jit_runtime_support_common.h File Reference


Defines

#define STACK_ALIGN4   (0x00000004)
 When entering managed function, obey the (sp)%4 == 0 rule.
#define STACK_ALIGN_HALF16   (0x00000008)
 When entering managed function, obey the (sp)%8 == 0 rule.
#define STACK_ALIGN16   (0x00000010)
 When entering managed function, obey the (sp)%16 == 0 rule.
#define MANAGED_STACK_ALIGNMENT   STACK_ALIGN16

Functions

VMEXPORT int __stdcall vm_instanceof (ManagedObject *obj, Class *c)
void *__stdcall vm_rt_aastore (Vector_Handle array, int idx, ManagedObject *elem)
int __stdcall vm_aastore_test (ManagedObject *elem, Vector_Handle array)
void * vm_get_interface_vtable (ManagedObject *obj, Class *iid)
void vm_instanceof_update_stats (ManagedObject *obj, Class *super)
void vm_checkcast_update_stats (ManagedObject *obj, Class *super)
void vm_aastore_test_update_stats (ManagedObject *elem, Vector_Handle array)
void vm_rt_class_initialize (Class *clss)
void vm_rt_class_throw_linking_error (Class_Handle ch, unsigned index, unsigned opcode)
ManagedObjectvm_rt_class_alloc_new_object (Class *c)
Vector_Handle vm_rt_new_vector (Class *vector_class, int length)
Vector_Handle vm_rt_new_vector_using_vtable_and_thread_pointer (int length, Allocation_Handle vector_handle, void *tp)
LilCodeStubgen_lil_typecheck_stub (bool is_checkcast)
 Creates a LIL code stub for checkcast or instance of can be used by both IA32 and IPF code.
LilCodeStubgen_lil_typecheck_stub_specialized (bool is_checkcast, bool will_inline, Class *superclass)
 Creates a SPECIALIZED LIL code stub for checkcast or instance of it assumes that the class is suitable for fast instanceof checks.


Define Documentation

#define STACK_ALIGN4   (0x00000004)

When entering managed function, obey the (sp)%4 == 0 rule.

#define STACK_ALIGN_HALF16   (0x00000008)

When entering managed function, obey the (sp)%8 == 0 rule.

#define STACK_ALIGN16   (0x00000010)

When entering managed function, obey the (sp)%16 == 0 rule.

#define MANAGED_STACK_ALIGNMENT   STACK_ALIGN16


Function Documentation

VMEXPORT int __stdcall vm_instanceof ( ManagedObject obj,
Class c 
)

void* __stdcall vm_rt_aastore ( Vector_Handle  array,
int  idx,
ManagedObject elem 
)

int __stdcall vm_aastore_test ( ManagedObject elem,
Vector_Handle  array 
)

void* vm_get_interface_vtable ( ManagedObject obj,
Class iid 
)

void vm_instanceof_update_stats ( ManagedObject obj,
Class super 
)

void vm_checkcast_update_stats ( ManagedObject obj,
Class super 
)

void vm_aastore_test_update_stats ( ManagedObject elem,
Vector_Handle  array 
)

void vm_rt_class_initialize ( Class clss  ) 

void vm_rt_class_throw_linking_error ( Class_Handle  ch,
unsigned  index,
unsigned  opcode 
)

ManagedObject* vm_rt_class_alloc_new_object ( Class c  ) 

Vector_Handle vm_rt_new_vector ( Class vector_class,
int  length 
)

Vector_Handle vm_rt_new_vector_using_vtable_and_thread_pointer ( int  length,
Allocation_Handle  vector_handle,
void *  tp 
)

LilCodeStub* gen_lil_typecheck_stub ( bool  is_checkcast  ) 

Creates a LIL code stub for checkcast or instance of can be used by both IA32 and IPF code.

LilCodeStub* gen_lil_typecheck_stub_specialized ( bool  is_checkcast,
bool  will_inline,
Class superclass 
)

Creates a SPECIALIZED LIL code stub for checkcast or instance of it assumes that the class is suitable for fast instanceof checks.

Returns:
Different fast stub for every class. will_inline is set to TRUE, if this stub will be inlined in a JIT, and FALSE, if it will be passed to a code generator (this is due to the slightly different treatment of exceptions).


Genereated on Tue Mar 11 19:25:57 2008 by Doxygen.

(c) Copyright 2005, 2008 The Apache Software Foundation or its licensors, as applicable.