diff options
author | Takashi Kokubun <[email protected]> | 2022-11-14 23:37:30 -0800 |
---|---|---|
committer | Takashi Kokubun <[email protected]> | 2022-11-14 23:39:38 -0800 |
commit | 69e47b7fa6611a852e86ea6efee4ba9cf49f893e (patch) | |
tree | 4b015fcdfcc250ed0d1c1b1d9517d58a86f52bad | |
parent | d15d1c01c28f63888475f8016adbc8b4f982b573 (diff) |
MJIT: Remove reference to ROBJECT_EMBED_LEN_MAX
maybe not used since some shape changes?
-rw-r--r-- | lib/mjit/compiler.rb | 2 | ||||
-rw-r--r-- | mjit_c.rb | 4 |
2 files changed, 0 insertions, 6 deletions
diff --git a/lib/mjit/compiler.rb b/lib/mjit/compiler.rb index 3ccdc1c925..734e33e59f 100644 --- a/lib/mjit/compiler.rb +++ b/lib/mjit/compiler.rb @@ -1,6 +1,4 @@ module RubyVM::MJIT - ROBJECT_EMBED_LEN_MAX = C.ROBJECT_EMBED_LEN_MAX - UNSUPPORTED_INSNS = [ :defineclass, # low priority ] @@ -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 |