1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

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

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46239 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
normal 2014-05-29 19:49:22 +00:00
parent d2684fd18e
commit fae18c95be
4 changed files with 6 additions and 9 deletions

View file

@ -1,3 +1,9 @@
Fri May 30 04:48:00 2014 Eric Wong <e@80x24.org>
* 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@gmail.com>
* signal.c (ruby_signal): should return either `old.sa_sigaction`

3
gc.c
View file

@ -4184,9 +4184,6 @@ gc_mark_roots(rb_objspace_t *objspace, int full_mark, const char **categoryp)
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);

View file

@ -762,7 +762,6 @@ int rb_is_attrset_name(VALUE name);
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);

View file

@ -10045,11 +10045,6 @@ reg_compile_gen(struct parser_params* parser, VALUE str, int options)
return re;
}
void
rb_gc_mark_parser(void)
{
}
NODE*
rb_parser_append_print(VALUE vparser, NODE *node)
{