mruby-compiler: remove unused string threshold constants

Removed STR_INLINE_THRESHOLD and STR_SMALL_THRESHOLD macros from node.h
as they are no longer referenced anywhere in the codebase. These appear
to be remnants from a previous string storage optimization strategy.

Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
Yukihiro "Matz" Matsumoto
2025-09-30 18:47:13 +09:00
parent 6c923dc12c
commit f45b9ff946
-4
View File
@@ -335,10 +335,6 @@ struct mrb_ast_super_node {
struct mrb_ast_node *args; /* Super arguments (can be NULL) */
};
/* String storage strategy thresholds */
#define STR_INLINE_THRESHOLD 48 /* Inline strings <= 48 bytes */
#define STR_SMALL_THRESHOLD 128 /* Small strings <= 128 bytes */
#define VAR_NODE_TYPE(n) ((enum node_type)(((struct mrb_ast_var_header*)(n))->node_type))
/* Type-safe casting macros */