diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-10-08 09:57:12 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-10-08 09:57:12 +0000 |
commit | 3b4216d2b5505adc02e7bd3649e82d3a00aa3772 (patch) | |
tree | a2767d742958b3f92eb58b42877d6d1603c43dc2 /gc.c | |
parent | 1e3a6c4d557742d2d83ec7a3a05ff1722118aadd (diff) |
* parse.y (rb_parser_malloc, rb_parser_free): manage parser stack on
heap. [ruby-list:41199]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9355 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'gc.c')
-rw-r--r-- | gc.c | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -880,13 +880,11 @@ gc_mark_children(ptr, lev) case NODE_BLOCK_ARG: case NODE_POSTEXE: break; -#ifdef C_ALLOCA case NODE_ALLOCA: mark_locations_array((VALUE*)obj->as.node.u1.value, obj->as.node.u3.cnt); ptr = (VALUE)obj->as.node.u2.node; goto again; -#endif default: /* unlisted NODE */ if (is_pointer_to_heap(obj->as.node.u1.node)) { @@ -1230,11 +1228,9 @@ obj_free(obj) RUBY_CRITICAL(free(RANY(obj)->as.node.u1.tbl)); } break; -#ifdef C_ALLOCA case NODE_ALLOCA: RUBY_CRITICAL(free(RANY(obj)->as.node.u1.node)); break; -#endif } return; /* no need to free iv_tbl */ |