aboutsummaryrefslogtreecommitdiffstats
path: root/mjit_c.rb
diff options
context:
space:
mode:
Diffstat (limited to 'mjit_c.rb')
-rw-r--r--mjit_c.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/mjit_c.rb b/mjit_c.rb
index f87afdee9e..d134a81ecf 100644
--- a/mjit_c.rb
+++ b/mjit_c.rb
@@ -355,6 +355,10 @@ module RubyVM::MJIT # :nodoc: all
Primitive.cexpr! 'SIZET2NUM((size_t)rb_obj_as_string_result)'
end
+ def rb_str_concat_literals
+ Primitive.cexpr! 'SIZET2NUM((size_t)rb_str_concat_literals)'
+ end
+
#========================================================================================
#
# Old stuff