Skip to content

Commit

Permalink
matz
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@924 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
matz committed Sep 1, 2000
1 parent cff9ebc commit 87b67b5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
3 changes: 2 additions & 1 deletion eval.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);\
} \
} \
Expand Down

0 comments on commit 87b67b5

Please sign in to comment.