summaryrefslogtreecommitdiff
path: root/proc.c
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-07-06 19:08:05 (GMT)
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-07-06 19:08:05 (GMT)
commit5c4d7b9a9ed82ef09d483e02a49cf8578fd07c7a (patch)
treef12c1173d913215a15c522c1949ac131dfda4232 /proc.c
parentce45744254edebad3265cfa75a3868023144cbfa (diff)
* vm_core.h: remove rb_iseq_t::defined_method_id because it is not
needed. * eval.c (frame_func_id): simplify. rb_callable_method_entry_t has enough information. * eval.c (frame_called_id): ditto. * iseq.c (prepare_iseq_build): catch up this fix. * proc.c (rb_mod_define_method): ditto. * vm.c (vm_define_method): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51168 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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;
}