mruby-compiler: remove var_nodes_enabled and use_variable_nodes flags

Eliminates gradual rollout feature flags that controlled variable-sized AST
nodes. Variable-sized nodes are now the default and only behavior, completing
the AST unification and simplification process.

Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
Yukihiro "Matz" Matsumoto
2025-09-24 14:20:06 +09:00
parent 511a5d13d3
commit 76745161c5
3 changed files with 0 additions and 10 deletions
-2
View File
@@ -33,7 +33,6 @@ typedef struct mrb_ccontext {
mrb_bool keep_lv:1;
mrb_bool no_optimize:1;
mrb_bool no_ext_ops:1;
mrb_bool use_variable_nodes:1; /* Enable variable-sized AST nodes */
const struct RProc *upper;
size_t parser_nerr;
@@ -135,7 +134,6 @@ struct mrb_parser_state {
uint16_t current_filename_index;
/* Variable-sized node management */
mrb_bool var_nodes_enabled:1; /* Feature flag for gradual rollout */
mrb_ast_node *nvars;
};