Skip to content

Commit

Permalink
fix debug build
Browse files Browse the repository at this point in the history
  • Loading branch information
yamt committed Jul 6, 2023
1 parent bd1d5f3 commit 1e3ec6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/insn.c
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,7 @@ read_memarg_nocheck(const uint8_t **pp, struct memarg *arg)
#define INSN_IMPL(NAME) \
int process_##NAME(const uint8_t **pp, const uint8_t *ep, \
struct context *ctx)
#define LOAD_PC const uint8_t *p = *pp
#define LOAD_PC const uint8_t *p __attribute__((__unused__)) = *pp
#define SAVE_PC *pp = p
#define RELOAD_PC
#define SAVE_STACK_PTR
Expand Down

0 comments on commit 1e3ec6d

Please sign in to comment.