mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Get rid of a magic number
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
47c82df27f
commit
025343654d
1 changed files with 1 additions and 1 deletions
|
@ -1363,7 +1363,7 @@ iseq_setup(rb_iseq_t *iseq, LINK_ANCHOR *const anchor)
|
|||
static int
|
||||
iseq_set_exception_local_table(rb_iseq_t *iseq)
|
||||
{
|
||||
iseq->body->local_table_size = 1;
|
||||
iseq->body->local_table_size = numberof(rb_iseq_shared_exc_local_tbl);
|
||||
iseq->body->local_table = rb_iseq_shared_exc_local_tbl;
|
||||
return COMPILE_OK;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue