mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Fix GCC warning
This commit is contained in:
parent
81e7091862
commit
5413d0918b
2 changed files with 1 additions and 4 deletions
|
@ -581,9 +581,6 @@ gen_opt_send_without_block(codeblock_t* cb, codeblock_t* ocb, ctx_t* ctx)
|
|||
cmp(cb, REG0, mem_opnd(64, REG1, offsetof(struct rb_callcache, klass)));
|
||||
jne_ptr(cb, side_exit);
|
||||
|
||||
// NOTE: there *has to be* a way to optimize the entry invalidated check
|
||||
// Could we have Ruby invalidate the JIT code instead of invalidating CME?
|
||||
//
|
||||
// Check that the method entry is not invalidated
|
||||
// cd->cc->cme->flags
|
||||
// #define METHOD_ENTRY_INVALIDATED(me) ((me)->flags & IMEMO_FL_USER5)
|
||||
|
|
|
@ -55,7 +55,7 @@ void print_int(codeblock_t* cb, x86opnd_t opnd)
|
|||
pop_regs(cb);
|
||||
}
|
||||
|
||||
static void print_ptr_cfun(int64_t val)
|
||||
static void print_ptr_cfun(void* val)
|
||||
{
|
||||
printf("%llX\n", val);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue