diff options
author | Yusuke Endoh <[email protected]> | 2019-12-09 13:49:17 +0900 |
---|---|---|
committer | Yusuke Endoh <[email protected]> | 2019-12-09 13:49:17 +0900 |
commit | 39c7230a7a7a039639d2cb3587c054554a1beb18 (patch) | |
tree | 96608d2292e7eda4d233bb4851700e598914398c /vm_args.c | |
parent | 8b07c122b7785fde6b06dd31b09f59a7cbdac2cd (diff) |
Revert "vm_args.c (rb_warn_check): Use unique_id * 2 instead of unique_id"
This reverts commit 751a9b32e5a53336768eb878de1827245a3292bf.
Diffstat (limited to 'vm_args.c')
-rw-r--r-- | vm_args.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |