Remove needless check

`nodetype_markable_p` always returns `false` then
`rb_ast_node_type_change` never calls `rb_bug`.
This commit is contained in:
yui-knk 2024-04-04 23:53:47 +09:00 committed by Yuichiro Kaneko
parent fc8fe78c07
commit cebbe18eed
2 changed files with 0 additions and 25 deletions

3
node.h
View file

@ -53,9 +53,6 @@ rb_ast_t *rb_ast_new(void);
#endif
size_t rb_ast_memsize(const rb_ast_t*);
void rb_ast_dispose(rb_ast_t*);
#if RUBY_DEBUG
void rb_ast_node_type_change(NODE *n, enum node_type type);
#endif
const char *ruby_node_name(int node);
void rb_node_init(NODE *n, enum node_type type);