Skip to content

Commit

Permalink
print_memory_usage: fix a macro name
Browse files Browse the repository at this point in the history
  • Loading branch information
yamt committed Jun 22, 2024
1 parent eb17c81 commit 1f7fb8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/repl.c
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ repl_unload_u(struct repl_state *state, struct repl_module_state_u *mod_u)
static void
print_memory_usage(const struct mem_context *mctx, const char *label)
{
#if defined(TOYWASM_ENABLE_HEAP_STATISTICS)
#if defined(TOYWASM_ENABLE_HEAP_TRACKING)
nbio_printf("%23s %12zu\n", label, mctx->allocated);
#endif
}
Expand Down

0 comments on commit 1f7fb8a

Please sign in to comment.