summaryrefslogtreecommitdiff
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 f169d582a4..3015f52897 100644
--- a/mjit_c.rb
+++ b/mjit_c.rb
@@ -199,6 +199,10 @@ module RubyVM::MJIT # :nodoc: all
}
end
+ def rb_ec_str_resurrect
+ Primitive.cexpr! 'SIZET2NUM((size_t)rb_ec_str_resurrect)'
+ end
+
#========================================================================================
#
# Old stuff