summaryrefslogtreecommitdiff
path: root/vm_method.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-02-06 02:33:47 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-02-06 02:33:47 +0000
commit4194ca02fb2899ce00e6284953d1fd4ee8bdbf38 (patch)
tree36cb79e9e3fe46d390639b7d3cc128ac987f07e5 /vm_method.c
parente98b307036755d7da02a7d7c5723e5032796ca09 (diff)
revert r45487
* variable.c (rb_alias_variable): IDs are always immportal now, no pin down is needed. * vm_method.c (rb_method_entry_make): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49520 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_method.c')
-rw-r--r--vm_method.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/vm_method.c b/vm_method.c
index 8ad2b72..7dd2f4b 100644
--- a/vm_method.c
+++ b/vm_method.c
@@ -344,8 +344,6 @@ rb_method_entry_make(VALUE klass, ID mid, rb_method_type_t type,
rb_unlink_method_entry(old_me);
}
- mid = SYM2ID(ID2SYM(mid));
-
me = ALLOC(rb_method_entry_t);
rb_clear_method_cache_by_class(klass);