diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-02-06 02:33:47 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-02-06 02:33:47 +0000 |
commit | 4194ca02fb2899ce00e6284953d1fd4ee8bdbf38 (patch) | |
tree | 36cb79e9e3fe46d390639b7d3cc128ac987f07e5 /vm_method.c | |
parent | e98b307036755d7da02a7d7c5723e5032796ca09 (diff) | |
download | ruby-4194ca02fb2899ce00e6284953d1fd4ee8bdbf38.tar.gz |
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.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/vm_method.c b/vm_method.c index 8ad2b72c21..7dd2f4bff7 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); |