summaryrefslogtreecommitdiff
path: root/variable.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-02-06 02:33:47 (GMT)
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-02-06 02:33:47 (GMT)
commit4194ca02fb2899ce00e6284953d1fd4ee8bdbf38 (patch)
tree36cb79e9e3fe46d390639b7d3cc128ac987f07e5 /variable.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 'variable.c')
-rw-r--r--variable.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/variable.c b/variable.c
index 68235ab..9d5ab9f 100644
--- a/variable.c
+++ b/variable.c
@@ -872,7 +872,6 @@ rb_alias_variable(ID name1, ID name2)
entry2 = rb_global_entry(name2);
if (!st_lookup(rb_global_tbl, (st_data_t)name1, &data1)) {
- name1 = SYM2ID(ID2SYM(name1));
entry1 = ALLOC(struct global_entry);
entry1->id = name1;
st_add_direct(rb_global_tbl, name1, (st_data_t)entry1);