diff options
author | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-03-03 07:28:54 +0000 |
---|---|---|
committer | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-03-03 07:28:54 +0000 |
commit | deeafa0e178fad98e05a538e8392fbcd7aab072e (patch) | |
tree | 28b6215d5f7ab78bdd6f61a4099514dbd27e20d0 /env.h | |
parent | 618510d30c27fd490cb7a0faa55837d1a46d08b4 (diff) |
* 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
Diffstat (limited to 'env.h')
-rw-r--r-- | env.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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; |