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 | 2f7f565d68461650fe435014f82e6f6658d018b5 (patch) | |
tree | a2767d742958b3f92eb58b42877d6d1603c43dc2 /gc.c | |
parent | 46d8d022a2d086b2b73b5e1df4c3a2d6214b39b6 (diff) | |
download | ruby-2f7f565d68461650fe435014f82e6f6658d018b5.tar.gz ruby-2f7f565d68461650fe435014f82e6f6658d018b5.tar.xz ruby-2f7f565d68461650fe435014f82e6f6658d018b5.zip |
* parse.y (rb_parser_malloc, rb_parser_free): manage parser stack on
heap. [ruby-list:41199]
git-svn-id: http://svn.ruby-lang.org/repos/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 */ |