File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed
Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,9 @@ class TestJIT < Test::Unit::TestCase
2121 :defineclass ,
2222 :opt_call_c_function ,
2323
24+ # to be tested
25+ :invokebuiltin ,
26+
2427 # never used
2528 :opt_invokebuiltin_delegate ,
2629 ] . each do |insn |
@@ -596,12 +599,6 @@ def test_compile_insn_opt_call_c_function
596599 skip "support this in opt_call_c_function (low priority)"
597600 end
598601
599- def test_compile_insn_invokebuiltin
600- insns = collect_insns ( RubyVM ::InstructionSequence . of ( [ 0 ] . method ( :pack ) ) . to_a )
601- mark_tested_insn ( :invokebuiltin , used_insns : insns )
602- assert_eval_with_jit ( 'print [0].pack("c")' , stdout : "\x00 " , success_count : 1 )
603- end
604-
605602 def test_compile_insn_opt_invokebuiltin_delegate_leave
606603 insns = collect_insns ( RubyVM ::InstructionSequence . of ( "\x00 " . method ( :unpack ) ) . to_a )
607604 mark_tested_insn ( :opt_invokebuiltin_delegate_leave , used_insns : insns )
You can’t perform that action at this time.
0 commit comments