ruby-changes:34158
From: normal <ko1@a...>
Date: Fri, 30 May 2014 04:49:31 +0900 (JST)
Subject: [ruby-changes:34158] normal:r46239 (trunk): remove empty rb_gc_mark_parser function
normal 2014-05-30 04:49:22 +0900 (Fri, 30 May 2014) New Revision: 46239 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?revision=46239&view=revision Log: remove empty rb_gc_mark_parser function * parse.y (rb_gc_mark_parser): remove, empty since r8758 * internal.h: ditto, not usable from extensions since 2.0.0 * gc.c (gc_mark_roots): remove checkpoint for parser Modified files: trunk/ChangeLog trunk/gc.c trunk/internal.h trunk/parse.y Index: ChangeLog =================================================================== --- ChangeLog (revision 46238) +++ ChangeLog (revision 46239) @@ -1,3 +1,9 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Fri May 30 04:48:00 2014 Eric Wong <e@8...> + + * parse.y (rb_gc_mark_parser): remove, empty since r8758 + * internal.h: ditto, not usable from extensions since 2.0.0 + * gc.c (gc_mark_roots): remove checkpoint for parser + Thu May 29 23:27:50 2014 Rei Odaira <Rei.Odaira@g...> * signal.c (ruby_signal): should return either `old.sa_sigaction` Index: gc.c =================================================================== --- gc.c (revision 46238) +++ gc.c (revision 46239) @@ -4184,9 +4184,6 @@ gc_mark_roots(rb_objspace_t *objspace, i https://github.com/ruby/ruby/blob/trunk/gc.c#L4184 MARK_CHECKPOINT("generic_ivars"); rb_mark_generic_ivar_tbl(); - MARK_CHECKPOINT("parser"); - rb_gc_mark_parser(); - MARK_CHECKPOINT("live_method_entries"); rb_gc_mark_unlinked_live_method_entries(th->vm); Index: parse.y =================================================================== --- parse.y (revision 46238) +++ parse.y (revision 46239) @@ -10045,11 +10045,6 @@ reg_compile_gen(struct parser_params* pa https://github.com/ruby/ruby/blob/trunk/parse.y#L10045 return re; } -void -rb_gc_mark_parser(void) -{ -} - NODE* rb_parser_append_print(VALUE vparser, NODE *node) { Index: internal.h =================================================================== --- internal.h (revision 46238) +++ internal.h (revision 46239) @@ -762,7 +762,6 @@ int rb_is_attrset_name(VALUE name); https://github.com/ruby/ruby/blob/trunk/internal.h#L762 int rb_is_local_name(VALUE name); int rb_is_method_name(VALUE name); int rb_is_junk_name(VALUE name); -void rb_gc_mark_parser(void); void rb_gc_mark_symbols(int full_mark); ID rb_make_internal_id(void); void rb_gc_free_dsymbol(VALUE); -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/