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 ] diff --git a/mjit_c.rb b/mjit_c.rb index 05ddfae468..f2086cf946 100644 --- a/mjit_c.rb +++ b/mjit_c.rb @@ -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