aboutsummaryrefslogtreecommitdiffstats
path: root/iseq.c
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-07-06 19:08:05 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-07-06 19:08:05 +0000
commit447a412c3da550d174df583e037244bb87acc91a (patch)
treef12c1173d913215a15c522c1949ac131dfda4232 /iseq.c
parent6534fa992c94f689614198e4a079a08fc480a7e6 (diff)
downloadruby-447a412c3da550d174df583e037244bb87acc91a.tar.gz
* 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 'iseq.c')
-rw-r--r--iseq.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/iseq.c b/iseq.c
index 1bdb5f7407..d071815353 100644
--- a/iseq.c
+++ b/iseq.c
@@ -268,7 +268,6 @@ prepare_iseq_build(rb_iseq_t *iseq,
if (iseq != iseq->local_iseq) {
RB_OBJ_WRITE(iseq->self, &iseq->location.base_label, iseq->local_iseq->location.label);
}
- iseq->defined_method_id = 0;
RB_OBJ_WRITE(iseq->self, &iseq->mark_ary, 0);
iseq->compile_data = ZALLOC(struct iseq_compile_data);