Skip to content

Commit f90955b

Browse files
committed
replace xlog_trace with xlog_trace_insn in a few more places
1 parent 2d4c58c commit f90955b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/exec.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -305,10 +305,10 @@ frame_enter(struct exec_context *ctx, struct instance *inst, uint32_t funcidx,
305305

306306
struct cell *locals = &VEC_NEXTELEM(ctx->stack);
307307
if (params_on_stack) {
308-
xlog_trace("params on stack");
308+
xlog_trace_insn("params on stack");
309309
/* params are already in place */
310310
} else {
311-
xlog_trace("copying %" PRIu32 " params", nparams);
311+
xlog_trace_insn("copying %" PRIu32 " params", nparams);
312312
cells_copy(locals, params, nparams);
313313
}
314314
#endif
@@ -766,7 +766,7 @@ fetch_exec_next_insn(const uint8_t *p, struct cell *stack,
766766
op = read_leb_u32_nocheck(&p);
767767
desc = &desc->next_table[op];
768768
}
769-
xlog_trace("exec %06" PRIx32 ": %s", pc, desc->name);
769+
xlog_trace_insn("exec %06" PRIx32 ": %s", pc, desc->name);
770770
assert(desc->process != NULL);
771771
struct context common_ctx;
772772
memset(&common_ctx, 0, sizeof(common_ctx));

0 commit comments

Comments
 (0)