summaryrefslogtreecommitdiff
path: root/proc.c
diff options
context:
space:
mode:
Diffstat (limited to 'proc.c')
-rw-r--r--proc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/proc.c b/proc.c
index 1b57b31..51c3436 100644
--- a/proc.c
+++ b/proc.c
@@ -1724,7 +1724,6 @@ rb_mod_define_method(int argc, VALUE *argv, VALUE mod)
body = proc_dup(body);
GetProcPtr(body, proc);
if (!RUBY_VM_IFUNC_P(proc->block.iseq)) {
- proc->block.iseq->defined_method_id = id;
proc->is_lambda = TRUE;
proc->is_from_method = TRUE;
}