MJIT: Remove reference to ROBJECT_EMBED_LEN_MAX

maybe not used since some shape changes?
This commit is contained in:
Takashi Kokubun 2022-11-14 23:37:30 -08:00
parent d15d1c01c2
commit 69e47b7fa6
No known key found for this signature in database
GPG key ID: 6FFC433B12EE23DD
2 changed files with 0 additions and 6 deletions

View file

@ -1,6 +1,4 @@
module RubyVM::MJIT
ROBJECT_EMBED_LEN_MAX = C.ROBJECT_EMBED_LEN_MAX
UNSUPPORTED_INSNS = [
:defineclass, # low priority
]

View file

@ -7,10 +7,6 @@ module RubyVM::MJIT
# This `class << C` section is for calling C functions. For importing variables
# or macros as is, please consider using tool/mjit/bindgen.rb instead.
class << C
def ROBJECT_EMBED_LEN_MAX
Primitive.cexpr! 'INT2NUM(RBIMPL_EMBED_LEN_MAX_OF(VALUE))'
end
def cdhash_to_hash(cdhash_addr)
Primitive.cdhash_to_hash(cdhash_addr)
end