diff options
author | Koichi Sasada <ko1@atdot.net> | 2019-11-18 10:24:38 +0900 |
---|---|---|
committer | Koichi Sasada <ko1@atdot.net> | 2019-11-18 10:24:38 +0900 |
commit | c3693bbaaa39d36210060fb4478751d66c0052ad (patch) | |
tree | 31a8260ccc4043ffe01a3d58cc41c5b7398955c5 /test/ruby | |
parent | 71fee9bc720ba7a117062bf3f78b6086527b656c (diff) | |
download | ruby-c3693bbaaa39d36210060fb4478751d66c0052ad.tar.gz |
catch up last commit.
Array#pack uses `opt_invokebuiltin_delegate_leave` now.
Diffstat (limited to 'test/ruby')
-rw-r--r-- | test/ruby/test_iseq.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_iseq.rb b/test/ruby/test_iseq.rb index 0120a50887..7c384c19bd 100644 --- a/test/ruby/test_iseq.rb +++ b/test/ruby/test_iseq.rb @@ -562,7 +562,7 @@ class TestISeq < Test::Unit::TestCase def test_iseq_builtin_to_a insns = RubyVM::InstructionSequence.of([].method(:pack)).to_a.last - invokebuiltin = insns.find { |insn| insn.is_a?(Array) && insn[0] == :invokebuiltin } + invokebuiltin = insns.find { |insn| insn.is_a?(Array) && insn[0] == :opt_invokebuiltin_delegate_leave } assert_not_nil(invokebuiltin) assert_equal([:func_ptr, :argc, :index, :name], invokebuiltin[1].keys) end |