summaryrefslogtreecommitdiff
path: root/hash.c
diff options
context:
space:
mode:
authorTakashi Kokubun <[email protected]>2024-02-08 07:22:07 -0800
committerGitHub <[email protected]>2024-02-08 10:22:07 -0500
commitb74c8abd1132824f95d81309f96645f272c064dc (patch)
tree568718a6e580b4538c65574cbb1f123291e8b12a /hash.c
parent01fd262e62076277a41af72ea13f20deb1b462a2 (diff)
YJIT: Skip pushing a frame for Hash#empty? (#9875)
Diffstat (limited to 'hash.c')
-rw-r--r--hash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hash.c b/hash.c
index 91f1e73a39..201ada4f6e 100644
--- a/hash.c
+++ b/hash.c
@@ -3015,7 +3015,7 @@ rb_hash_size_num(VALUE hash)
* {foo: 0, bar: 1, baz: 2}.empty? # => false
*/
-static VALUE
+VALUE
rb_hash_empty_p(VALUE hash)
{
return RBOOL(RHASH_EMPTY_P(hash));