diff --git a/compile.c b/compile.c index 0a2e076b39..bb469659c8 100644 --- a/compile.c +++ b/compile.c @@ -6443,17 +6443,11 @@ iseq_compile_each0(rb_iseq_t *iseq, LINK_ANCHOR *const ret, const NODE *node, in INIT_ANCHOR(args); #if SUPPORT_JOKE if (nd_type(node) == NODE_VCALL) { - ID id_bitblt; ID id_answer; - CONST_ID(id_bitblt, "bitblt"); CONST_ID(id_answer, "the_answer_to_life_the_universe_and_everything"); - if (mid == id_bitblt) { - ADD_INSN(ret, line, bitblt); - break; - } - else if (mid == id_answer) { + if (mid == id_answer) { ADD_INSN(ret, line, answer); break; } diff --git a/insns.def b/insns.def index cacc5b709f..eb8c20bbba 100644 --- a/insns.def +++ b/insns.def @@ -1438,16 +1438,6 @@ opt_call_c_function NEXT_INSN(); } -/* BLT */ -DEFINE_INSN -bitblt -() -() -(VALUE ret) -{ - ret = rb_str_new2("a bit of bacon, lettuce and tomato"); -} - /* The Answer to Life, the Universe, and Everything */ DEFINE_INSN answer diff --git a/test/ruby/test_jit.rb b/test/ruby/test_jit.rb index 3770faf038..722801226e 100644 --- a/test/ruby/test_jit.rb +++ b/test/ruby/test_jit.rb @@ -19,7 +19,6 @@ class TestJIT < Test::Unit::TestCase :opt_call_c_function, # joke - :bitblt, :answer, # TODO: write tests for them