26 #ifndef VM_JIT_I386_MD_HPP_
27 #define VM_JIT_I386_MD_HPP_ 1
47 int32_t stackframesize;
58 if (stackframesize != 0)
61 return stackframesize;
78 ra = *((
void **) (((uintptr_t) sp) + stackframesize));
114 __asm__ __volatile__ (
"" : : :
"memory");
127 __asm__ __volatile__ (
"" : : :
"memory");
140 __asm__ __volatile__ (
"" : : :
"memory");
155 __asm__ __volatile__ (
"rdtsc" :
"=A" (cycles));
160 #endif // VM_JIT_I386_MD_HPP_
static void * md_stacktrace_get_returnaddress(void *sp, int32_t stackframesize)
static void * md_codegen_get_pv_from_pc(void *ra)
static void md_dcacheflush(void *addr, int nbytes)
static int32_t md_stacktrace_get_framesize(codeinfo *code)
Returns the size (in bytes) of the current stackframe, specified by the passed codeinfo structure...
static void md_icacheflush(void *addr, int nbytes)
static uint64_t md_get_cycle_count()
static void md_cacheflush(void *addr, int nbytes)