symbol.c: remove unused function sym_lit_p

The function sym_lit_p was not used anywhere in the codebase.

Co-authored-by: Gemini <gemini@google.com>
This commit is contained in:
Yukihiro "Matz" Matsumoto
2025-08-21 07:18:15 +09:00
parent 240fbe41f9
commit a8dbe48311
-9
View File
@@ -148,15 +148,6 @@ using_hash_table(mrb_state *mrb)
return mrb->symhash != NULL;
}
/* Symbol literal flag check using LSB tagging */
static inline mrb_bool
sym_lit_p(mrb_state *mrb, mrb_sym i)
{
/* Works for both linear and hash modes - check LSB of tagged pointer */
return symtbl_is_literal(mrb->symtbl[i]);
}
static mrb_bool
sym_check(mrb_state *mrb, const char *name, size_t len, mrb_sym i)
{