diff options
author | Maxime Chevalier-Boisvert <maxime.chevalierboisvert@shopify.com> | 2020-11-05 11:37:55 -0500 |
---|---|---|
committer | Alan Wu <XrXr@users.noreply.github.com> | 2021-10-20 18:19:26 -0400 |
commit | 6a9a516dc5c253c5609386ae70e2ac5c53423e2a (patch) | |
tree | f8a4c923f4986d5b1692c9a48e377eb5ad85c0df | |
parent | 50d8c3d4430cc8726b0d2745440e9de01eb4dfb9 (diff) |
Print to stderr in ujit_utils.c
-rw-r--r-- | ujit_utils.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ujit_utils.c b/ujit_utils.c index b7eeeb3966..06065b01fd 100644 --- a/ujit_utils.c +++ b/ujit_utils.c @@ -36,7 +36,7 @@ void pop_regs(codeblock_t* cb) static void print_int_cfun(int64_t val) { - printf("%lld\n", (long long int)val); + fprintf(stderr, "%lld\n", (long long int)val); } void print_int(codeblock_t* cb, x86opnd_t opnd) @@ -57,7 +57,7 @@ void print_int(codeblock_t* cb, x86opnd_t opnd) static void print_ptr_cfun(void* val) { - printf("%p\n", val); + fprintf(stderr, "%p\n", val); } void print_ptr(codeblock_t* cb, x86opnd_t opnd) @@ -75,7 +75,7 @@ void print_ptr(codeblock_t* cb, x86opnd_t opnd) static void print_str_cfun(const char* str) { - printf("%s\n", str); + fprintf(stderr, "%s\n", str); } // Print a constant string to stdout |