Skip to content

Commit

Permalink
libdyld: fix an unused warning
Browse files Browse the repository at this point in the history
  • Loading branch information
yamt committed Aug 16, 2023
1 parent 3fb23b3 commit 842056a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libdyld/dyld.c
Original file line number Diff line number Diff line change
Expand Up @@ -1264,7 +1264,9 @@ dyld_load(struct dyld *d, const char *filename)
goto fail;
}
} else {
#if defined(TOYWASM_ENABLE_TRACING)
uint32_t sp = global_get_i32(d->stack_pointer);
#endif
uint32_t base = global_get_i32(d->u.nonpie.heap_base);
uint32_t end = global_get_i32(d->u.nonpie.heap_end);
xlog_trace("dyld: globals from the non-pie main module sp "
Expand Down

0 comments on commit 842056a

Please sign in to comment.