From 69e47b7fa6611a852e86ea6efee4ba9cf49f893e Mon Sep 17 00:00:00 2001 From: Takashi Kokubun Date: Mon, 14 Nov 2022 23:37:30 -0800 Subject: [PATCH] MJIT: Remove reference to ROBJECT_EMBED_LEN_MAX maybe not used since some shape changes? --- lib/mjit/compiler.rb | 2 -- mjit_c.rb | 4 ---- 2 files changed, 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 ] 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