File tree 1 file changed +3
-6
lines changed
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
21
21
:defineclass ,
22
22
:opt_call_c_function ,
23
23
24
+ # to be tested
25
+ :invokebuiltin ,
26
+
24
27
# never used
25
28
:opt_invokebuiltin_delegate ,
26
29
] . each do |insn |
@@ -596,12 +599,6 @@ def test_compile_insn_opt_call_c_function
596
599
skip "support this in opt_call_c_function (low priority)"
597
600
end
598
601
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
-
605
602
def test_compile_insn_opt_invokebuiltin_delegate_leave
606
603
insns = collect_insns ( RubyVM ::InstructionSequence . of ( "\x00 " . method ( :unpack ) ) . to_a )
607
604
mark_tested_insn ( :opt_invokebuiltin_delegate_leave , used_insns : insns )
You can’t perform that action at this time.
0 commit comments