summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorKoichi Sasada <ko1@atdot.net>2019-11-18 10:24:38 +0900
committerKoichi Sasada <ko1@atdot.net>2019-11-18 10:24:38 +0900
commitc3693bbaaa39d36210060fb4478751d66c0052ad (patch)
tree31a8260ccc4043ffe01a3d58cc41c5b7398955c5 /test
parent71fee9bc720ba7a117062bf3f78b6086527b656c (diff)
catch up last commit.
Array#pack uses `opt_invokebuiltin_delegate_leave` now.
Diffstat (limited to 'test')
-rw-r--r--test/ruby/test_iseq.rb2
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