|
|
@ -887,7 +887,9 @@ void jit_dump_function(FILE *stream, jit_function_t func, const char *name) |
|
|
|
} |
|
|
|
else if(func->is_compiled) |
|
|
|
{ |
|
|
|
void *end = _jit_memory_get_function_end(func->context, func); |
|
|
|
void *start = func->entry_point; |
|
|
|
void *info = _jit_memory_find_function_info(func->context, start); |
|
|
|
void *end = _jit_memory_get_function_end(func->context, info); |
|
|
|
#if defined(JIT_BACKEND_INTERP) |
|
|
|
/* Dump the interpreter's bytecode representation */ |
|
|
|
jit_function_interp_t interp; |
|
|
@ -898,7 +900,7 @@ void jit_dump_function(FILE *stream, jit_function_t func, const char *name) |
|
|
|
(int)(interp->working_area)); |
|
|
|
dump_interp_code(stream, (void **)(interp + 1), (void **)end); |
|
|
|
#else |
|
|
|
dump_object_code(stream, func->entry_point, end); |
|
|
|
dump_object_code(stream, start, end); |
|
|
|
#endif |
|
|
|
} |
|
|
|
|
|
|
|