diff options
author | Maxime Chevalier-Boisvert <maxime.chevalierboisvert@shopify.com> | 2020-10-14 14:03:31 -0400 |
---|---|---|
committer | Alan Wu <XrXr@users.noreply.github.com> | 2021-10-20 18:19:25 -0400 |
commit | 6f81bd2c76c9eec7a95db92f552405cc68367e4d (patch) | |
tree | 45e90c82f82b6c38d59a3230662057eeadf91ccd /ujit_utils.h | |
parent | e5751768baeb7c1e0a48c466c98014667058d2c3 (diff) |
Added print_ptr() util function for debugging
Diffstat (limited to 'ujit_utils.h')
-rw-r--r-- | ujit_utils.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ujit_utils.h b/ujit_utils.h index 5244d59734..005d928511 100644 --- a/ujit_utils.h +++ b/ujit_utils.h @@ -9,6 +9,7 @@ void push_regs(codeblock_t* cb); void pop_regs(codeblock_t* cb); void print_int(codeblock_t* cb, x86opnd_t opnd); +void print_ptr(codeblock_t* cb, x86opnd_t opnd); void print_str(codeblock_t* cb, const char* str); #endif // #ifndef UJIT_UTILS_H |