mirror of
https://github.com/ruby/ruby.git
synced 2025-08-23 13:04:13 +02:00
Share the exception local ID table
[Fix GH-2115] From: Lourens Naudé <lourens@bearmetal.eu> git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67511 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
cf781b0871
commit
47c82df27f
3 changed files with 7 additions and 8 deletions
3
iseq.c
3
iseq.c
|
@ -91,7 +91,8 @@ rb_iseq_free(const rb_iseq_t *iseq)
|
|||
#if VM_INSN_INFO_TABLE_IMPL == 2
|
||||
if (body->insns_info.succ_index_table) ruby_xfree(body->insns_info.succ_index_table);
|
||||
#endif
|
||||
ruby_xfree((void *)body->local_table);
|
||||
if (LIKELY(body->local_table != rb_iseq_shared_exc_local_tbl))
|
||||
ruby_xfree((void *)body->local_table);
|
||||
ruby_xfree((void *)body->is_entries);
|
||||
|
||||
if (body->ci_entries) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue