summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-05-29 19:49:22 +0000
committernormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-05-29 19:49:22 +0000
commitfae18c95be272b2ddb504aa5d26912ccfce84ef6 (patch)
tree1bfd1e004233687828ed240ef3e202c4246b6d84
parentd2684fd18ea311338bdc9dbf7b2938a0cd898165 (diff)
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
-rw-r--r--ChangeLog6
-rw-r--r--gc.c3
-rw-r--r--internal.h1
-rw-r--r--parse.y5
4 files changed, 6 insertions, 9 deletions
diff --git a/ChangeLog b/ChangeLog
index fa136d91591..33f86a0e35f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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`
diff --git a/gc.c b/gc.c
index 6c9547ef1a6..41c13f2edc7 100644
--- a/gc.c
+++ b/gc.c
@@ -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);
diff --git a/internal.h b/internal.h
index c4a2d8d4b1b..2c1c6a3dfcc 100644
--- a/internal.h
+++ b/internal.h
@@ -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);
diff --git a/parse.y b/parse.y
index 357f8ab481c..a4480b15c70 100644
--- a/parse.y
+++ b/parse.y
@@ -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)
{