diff options
author | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-11-07 08:13:20 +0000 |
---|---|---|
committer | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-11-07 08:13:20 +0000 |
commit | b06649b91262c9462933bef8c8f6173c2abe59d2 (patch) | |
tree | 38cf6efd50e172304d163fbc207f6e39db2fdd66 /test | |
parent | c8cfd78b40d6d19fcacb7ca3a564de39907c4b59 (diff) |
Rename get/setinlinecache to opt_get/opt_setinlinecache
The instructions are just for optimization. To clarity the intention,
this change adds the prefix "opt_", like "opt_case_dispatch".
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65600 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r-- | test/ruby/test_jit.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_jit.rb b/test/ruby/test_jit.rb index 5c31b504c4..dbc8732e4c 100644 --- a/test/ruby/test_jit.rb +++ b/test/ruby/test_jit.rb @@ -444,7 +444,7 @@ class TestJIT < Test::Unit::TestCase end def test_compile_insn_inlinecache - assert_compile_once('Struct', result_inspect: 'Struct', insns: %i[getinlinecache setinlinecache]) + assert_compile_once('Struct', result_inspect: 'Struct', insns: %i[opt_getinlinecache opt_setinlinecache]) end def test_compile_insn_once |