summaryrefslogtreecommitdiff
path: root/class.c
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-05-04 20:25:09 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-05-04 20:25:09 +0000
commitb4d7d616d9ad8d94df0563f06318c7b9a6a80269 (patch)
tree69415217a5f465a8531c209ccd9843b41f95b560 /class.c
parent7a17dca09f5390041535876d0fdb327ff6658492 (diff)
downloadruby-b4d7d616d9ad8d94df0563f06318c7b9a6a80269.tar.gz
* method.h, vm_method.c: rename some internal functions related to
rb_method_entry_t. rb_add_method_me() -> rb_method_entry_set(). rb_get_method_entry() -> rb_method_entry_without_cache(). rb_gc_mark_method_entry() -> rb_mark_method_entry(). * class.c, proc.c: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27620 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'class.c')
-rw-r--r--class.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/class.c b/class.c
index e4d830641c..68cf1a3fbb 100644
--- a/class.c
+++ b/class.c
@@ -134,7 +134,7 @@ clone_method(ID mid, const rb_method_entry_t *me, struct clone_method_data *data
rb_add_method(data->klass, mid, VM_METHOD_TYPE_ISEQ, iseq, me->flag);
}
else {
- rb_add_method_me(data->klass, mid, me, me->flag);
+ rb_method_entry_set(data->klass, mid, me, me->flag);
}
return ST_CONTINUE;
}