summaryrefslogtreecommitdiff
path: root/node.h
diff options
context:
space:
mode:
authoryui-knk <[email protected]>2024-04-04 23:53:47 +0900
committerYuichiro Kaneko <[email protected]>2024-04-05 09:19:57 +0900
commitcebbe18eed2e09843e9c24be9a8ea9db6d241050 ()
treee6700b21c15e39a863d7f98703e5117be9e67bff /node.h
parentfc8fe78c073eb4a7a531444de103dd89d379bdae (diff)
Remove needless check
`nodetype_markable_p` always returns `false` then `rb_ast_node_type_change` never calls `rb_bug`.
-rw-r--r--node.h3
1 files changed, 0 insertions, 3 deletions
@@ -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);