summaryrefslogtreecommitdiff
path: root/internal/string.h
diff options
context:
space:
mode:
Diffstat (limited to 'internal/string.h')
-rw-r--r--internal/string.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/string.h b/internal/string.h
index d010669ca8..18b01862f7 100644
--- a/internal/string.h
+++ b/internal/string.h
@@ -116,6 +116,7 @@ is_broken_string(VALUE str)
}
/* expect tail call optimization */
+// YJIT needs this function to never allocate and never raise
static inline VALUE
rb_str_eql_internal(const VALUE str1, const VALUE str2)
{