summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYusuke Endoh <mame@ruby-lang.org>2019-12-09 13:49:17 +0900
committerYusuke Endoh <mame@ruby-lang.org>2019-12-09 13:49:17 +0900
commit39c7230a7a7a039639d2cb3587c054554a1beb18 (patch)
tree96608d2292e7eda4d233bb4851700e598914398c
parent8b07c122b7785fde6b06dd31b09f59a7cbdac2cd (diff)
Revert "vm_args.c (rb_warn_check): Use unique_id * 2 instead of unique_id"
This reverts commit 751a9b32e5a53336768eb878de1827245a3292bf.
-rw-r--r--vm_args.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm_args.c b/vm_args.c
index c6c111865ee..41824527de3 100644
--- a/vm_args.c
+++ b/vm_args.c
@@ -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);