Use logger for runtime error/debug prints (#3097)
Change runtime internal error/debug prints from using `os_printf()` to using `LOG_ERROR()`/`LOG_DEBUG()`.
This commit is contained in:
@ -1093,7 +1093,7 @@ init_func_translation(JitCompContext *cc)
|
||||
|| !(jit_frame = jit_calloc(offsetof(JitFrame, lp)
|
||||
+ sizeof(*jit_frame->lp)
|
||||
* (max_locals + max_stacks)))) {
|
||||
os_printf("allocate jit frame failed\n");
|
||||
LOG_ERROR("allocate jit frame failed\n");
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user