summaryrefslogtreecommitdiff
path: root/rjit_c.rb
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2023-04-02 16:59:07 -0700
committerTakashi Kokubun <takashikkbn@gmail.com>2023-04-02 22:32:16 -0700
commitd546f8c5183d583b2455ef005b9276a22bab3b65 (patch)
treea79ebfd83e476b367f5c1fca70a2c711d64f246e /rjit_c.rb
parent09ad7e20d35d94866cd96a1d6f3b1ede0fa89aff (diff)
downloadruby-d546f8c5183d583b2455ef005b9276a22bab3b65.tar.gz
RJIT: Store type information in Context
Diffstat (limited to 'rjit_c.rb')
-rw-r--r--rjit_c.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/rjit_c.rb b/rjit_c.rb
index 9bbc2bbcda..fa4ea2dddc 100644
--- a/rjit_c.rb
+++ b/rjit_c.rb
@@ -480,6 +480,10 @@ module RubyVM::RJIT # :nodoc: all
Primitive.cexpr! %q{ SIZET2NUM(rb_block_param_proxy) }
end
+ def C.rb_cArray
+ Primitive.cexpr! %q{ SIZET2NUM(rb_cArray) }
+ end
+
def C.rb_cFalseClass
Primitive.cexpr! %q{ SIZET2NUM(rb_cFalseClass) }
end
@@ -496,6 +500,10 @@ module RubyVM::RJIT # :nodoc: all
Primitive.cexpr! %q{ SIZET2NUM(rb_cNilClass) }
end
+ def C.rb_cString
+ Primitive.cexpr! %q{ SIZET2NUM(rb_cString) }
+ end
+
def C.rb_cSymbol
Primitive.cexpr! %q{ SIZET2NUM(rb_cSymbol) }
end