mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Print to stderr in ujit_utils.c
This commit is contained in:
parent
50d8c3d443
commit
6a9a516dc5
1 changed files with 3 additions and 3 deletions
|
@ -36,7 +36,7 @@ void pop_regs(codeblock_t* cb)
|
||||||
|
|
||||||
static void print_int_cfun(int64_t val)
|
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)
|
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)
|
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)
|
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)
|
static void print_str_cfun(const char* str)
|
||||||
{
|
{
|
||||||
printf("%s\n", str);
|
fprintf(stderr, "%s\n", str);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Print a constant string to stdout
|
// Print a constant string to stdout
|
||||||
|
|
Loading…
Add table
Reference in a new issue