From 2dcaeb75ff0e0a2fbafc4df0df9d7be119235415 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Fri, 9 Sep 2022 11:51:11 +0900 Subject: [PATCH] Built-in function table sentinels do not need names --- builtin.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builtin.h b/builtin.h index b827b28928..7ad52f44f4 100644 --- a/builtin.h +++ b/builtin.h @@ -17,7 +17,7 @@ struct rb_builtin_function { }; #define RB_BUILTIN_FUNCTION(_i, _name, _fname, _arity, _compiler) {\ - .name = #_name, \ + .name = _i < 0 ? NULL : #_name, \ .func_ptr = (void *)_fname, \ .argc = _arity, \ .index = _i, \