mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
e19d13f093
Complete the conversion of boolean literal nodes by: 1. Convert new_true to always use variable-sized nodes and inline new_true_var directly into the function, eliminating function call overhead 2. Remove obsolete NODE_TRUE case from traditional codegen() and inline codegen_true function into gen_true_var for cleaner code 3. Apply the same optimizations to new_false - inline new_false_var and remove obsolete NODE_FALSE case and codegen_false function 4. Clean up unused functions and forward declarations Both true and false literals now always use the variable-sized node path with direct OP_LOADT/OP_LOADF instruction generation, eliminating conditional branching and function call overhead. Co-authored-by: Claude <noreply@anthropic.com>