mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
ecbf25378b
Complete migration of method definition nodes to variable-sized format: - Convert NODE_DEF and NODE_SDEF from fixed cons-based to variable-sized nodes - Update parser to create variable-sized def/sdef nodes directly - Remove old codegen_def and codegen_sdef functions - Consolidate method setup logic in defn_setup function - Rename lambda_body_ex to lambda_body after removing wrapper layer - Update all method definition code generation to use new node structure This completes the variable-sized node migration for method definitions, improving memory efficiency and enabling more flexible AST handling. Co-authored-by: Claude <noreply@anthropic.com>