summaryrefslogtreecommitdiff
path: root/node.c
diff options
context:
space:
mode:
Diffstat (limited to 'node.c')
-rw-r--r--node.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/node.c b/node.c
index e7644aeae3..9521238e38 100644
--- a/node.c
+++ b/node.c
@@ -426,18 +426,8 @@ void
rb_ast_free(rb_ast_t *ast)
{
if (ast->node_buffer) {
-#ifdef UNIVERSAL_PARSER
- rb_parser_config_t *config = ast->node_buffer->config;
-#endif
-
rb_node_buffer_free(ast, ast->node_buffer);
ast->node_buffer = 0;
-#ifdef UNIVERSAL_PARSER
- config->counter--;
- if (config->counter <= 0) {
- rb_ruby_parser_config_free(config);
- }
-#endif
}
}