jit_runtime_support.h File Reference


Detailed Description

Declaration of access interfaces to runtime helpers provided by VM.


Typedefs

typedef LilCodeStub LilCodeStub
 Instead of returning a stub address, this support function returns parsed LIL code.

Functions

NativeCodePtr rth_get_lil_helper (VM_RT_SUPPORT f)
VMEXPORT void * vm_get_rt_support_addr (VM_RT_SUPPORT f)
VMEXPORT void * vm_get_rt_support_addr_optimized (VM_RT_SUPPORT f, Class_Handle c)
 Temporary interface addition same as vm_get_rt_support_addr, but tries to optimize the stubs it creates, by specializing them.
VMEXPORT LilCodeStubvm_get_rt_support_stub (VM_RT_SUPPORT f, Class_Handle c)
VMEXPORT HELPER_INTERRUPTIBILITY_KIND vm_helper_get_interruptibility_kind (VM_RT_SUPPORT f)
 Checks if helper is a suspension point.
VMEXPORT HELPER_CALLING_CONVENTION vm_helper_get_calling_convention (VM_RT_SUPPORT f)
VMEXPORT const char * vm_helper_get_name (VM_RT_SUPPORT id)
VMEXPORT int vm_helper_get_numargs (VM_RT_SUPPORT id)
 Returns number of helper arguments.
VMEXPORT VM_RT_SUPPORT vm_helper_get_by_name (const char *name)
 Returns Id of runtime helper by its string representation.
jint helper_magic_init (Global_Env *vm_env)
VMEXPORT jint vm_helper_register_magic_helper (VM_RT_SUPPORT id, const char *class_name, const char *method_name)
VMEXPORT Method_Handle vm_helper_get_magic_helper (VM_RT_SUPPORT id)


Typedef Documentation

typedef struct LilCodeStub LilCodeStub

Instead of returning a stub address, this support function returns parsed LIL code.


Function Documentation

NativeCodePtr rth_get_lil_helper ( VM_RT_SUPPORT  f  ) 

VMEXPORT void* vm_get_rt_support_addr ( VM_RT_SUPPORT  f  ) 

VMEXPORT void* vm_get_rt_support_addr_optimized ( VM_RT_SUPPORT  f,
Class_Handle  c 
)

Temporary interface addition same as vm_get_rt_support_addr, but tries to optimize the stubs it creates, by specializing them.

VMEXPORT LilCodeStub* vm_get_rt_support_stub ( VM_RT_SUPPORT  f,
Class_Handle  c 
)

VMEXPORT HELPER_INTERRUPTIBILITY_KIND vm_helper_get_interruptibility_kind ( VM_RT_SUPPORT  f  ) 

Checks if helper is a suspension point.

VMEXPORT HELPER_CALLING_CONVENTION vm_helper_get_calling_convention ( VM_RT_SUPPORT  f  ) 

VMEXPORT const char* vm_helper_get_name ( VM_RT_SUPPORT  id  ) 

VMEXPORT int vm_helper_get_numargs ( VM_RT_SUPPORT  id  ) 

Returns number of helper arguments.

Intended primarily for debugging.

VMEXPORT VM_RT_SUPPORT vm_helper_get_by_name ( const char *  name  ) 

Returns Id of runtime helper by its string representation.

Name comparison is case-insensitive. If the helperName is unknown, then VM_RT_UNKNOWN is returned.

jint helper_magic_init ( Global_Env vm_env  ) 

VMEXPORT jint vm_helper_register_magic_helper ( VM_RT_SUPPORT  id,
const char *  class_name,
const char *  method_name 
)

VMEXPORT Method_Handle vm_helper_get_magic_helper ( VM_RT_SUPPORT  id  ) 


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

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