diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2019-04-10 12:43:34 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2019-04-10 12:43:34 +0000 |
commit | 54b93ef1ac4c81730508740ae213f6f52b0bec94 (patch) | |
tree | 1750dd64ae0cb01268e7363d1b982c0f2b091745 /compile.c | |
parent | b9e52ef8b6a004082fa341ee9c6bbbd5168e7daf (diff) |
compile.c: name a hidden local variable as a predefined ID
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67505 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'compile.c')
-rw-r--r-- | compile.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -1364,12 +1364,10 @@ iseq_set_exception_local_table(rb_iseq_t *iseq) /* TODO: every id table is same -> share it. * Current problem is iseq_free(). */ - ID id_dollar_bang; ID *ids = (ID *)ALLOC_N(ID, 1); - CONST_ID(id_dollar_bang, "#$!"); iseq->body->local_table_size = 1; - ids[0] = id_dollar_bang; + ids[0] = idERROR_INFO; iseq->body->local_table = ids; return COMPILE_OK; } |