mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* env.h (SCOPE_CLONE): Introduce a new scope flag to prevent a
local_tbl region from getting freed many times; submitted by Chikanaga Tomoyuki <chikanag AT nippon-control-system.co.jp> in [ruby-dev:30460]. * eval.c (proc_invoke): Ditto. * gc.c (obj_free): Ditto. * parse.y (top_local_setup_gen): Ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11964 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
618510d30c
commit
deeafa0e17
5 changed files with 19 additions and 3 deletions
1
env.h
1
env.h
|
@ -43,6 +43,7 @@ extern struct SCOPE {
|
|||
#define SCOPE_MALLOC 1
|
||||
#define SCOPE_NOSTACK 2
|
||||
#define SCOPE_DONT_RECYCLE 4
|
||||
#define SCOPE_CLONE 8
|
||||
|
||||
extern int ruby_in_eval;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue