Revert "vm_args.c (rb_warn_check): Use unique_id * 2 instead of unique_id"
This reverts commit 751a9b32e5a53336768eb878de1827245a3292bf.
This commit is contained in:
parent
8b07c122b7
commit
39c7230a7a
@ -597,7 +597,7 @@ static VALUE rb_warn_check(const rb_execution_context_t * const ec, const rb_ise
|
||||
{
|
||||
if (!iseq) return 0;
|
||||
|
||||
const void *const callee = (void *)(iseq->body->iseq_unique_id * 2);
|
||||
const void *const callee = (void *)iseq->body->iseq_unique_id;
|
||||
|
||||
const rb_control_frame_t * const cfp = rb_vm_get_ruby_level_next_cfp(ec, ec->cfp);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user