diff --git a/ujit_compile.c b/ujit_compile.c index 60abe167d2..dc0509d703 100644 --- a/ujit_compile.c +++ b/ujit_compile.c @@ -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) diff --git a/ujit_utils.c b/ujit_utils.c index a82bf6c638..c5011cb130 100644 --- a/ujit_utils.c +++ b/ujit_utils.c @@ -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); }