aboutsummaryrefslogtreecommitdiffstats
path: root/vm_insnhelper.c
diff options
context:
space:
mode:
Diffstat (limited to 'vm_insnhelper.c')
-rw-r--r--vm_insnhelper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm_insnhelper.c b/vm_insnhelper.c
index b1d36fb234..c8c9452040 100644
--- a/vm_insnhelper.c
+++ b/vm_insnhelper.c
@@ -362,7 +362,7 @@ vm_call_cfunc(rb_thread_t *th, rb_control_frame_t *reg_cfp,
VALUE val = 0;
int state = 0;
VALUE klass = me->klass;
- ID id = me->original_id;
+ ID id = me->called_id;
EXEC_EVENT_HOOK(th, RUBY_EVENT_C_CALL, recv, id, klass);