mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@924 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
cff9ebc8dc
commit
87b67b575c
2 changed files with 4 additions and 1 deletions
|
@ -4,6 +4,8 @@ Fri Sep 1 10:36:45 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
|
|||
|
||||
Fri Sep 1 10:36:29 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||
|
||||
* eval.c (POP_SCOPE): recycled scopes too much
|
||||
|
||||
* eval.c (Init_eval): extend room for stack allowance.
|
||||
|
||||
* eval.c (POP_SCOPE): frees scope too much.
|
||||
|
|
3
eval.c
3
eval.c
|
@ -801,7 +801,8 @@ static rb_thread_t curr_thread = 0;
|
|||
if (!(ruby_scope->flag & SCOPE_MALLOC)) {\
|
||||
ruby_scope->local_vars = 0; \
|
||||
ruby_scope->local_tbl = 0; \
|
||||
if (ruby_scope != top_scope) { \
|
||||
if (!(ruby_scope->flag & SCOPE_DONT_RECYCLE) && \
|
||||
ruby_scope != top_scope) { \
|
||||
rb_gc_force_recycle((VALUE)ruby_scope);\
|
||||
} \
|
||||
} \
|
||||
|
|
Loading…
Reference in a new issue