summaryrefslogtreecommitdiff
path: root/insns.def
diff options
context:
space:
mode:
authorUrabe, Shyouhei <shyouhei@ruby-lang.org>2018-09-19 10:41:56 +0900
committerTakashi Kokubun <takashikkbn@gmail.com>2019-09-02 13:56:40 +0900
commit8ad7fafcddece2096b748178df9a3318cb1ba3ae (patch)
tree3628acfffcef258cec171918899deb36262521fb /insns.def
parentff462bc6c3d88bab9df4c8d17b420f21223984c2 (diff)
downloadbundler-8ad7fafcddece2096b748178df9a3318cb1ba3ae.tar.gz
opt_regexpmatch1 is actually making things slower.
---- trunk: ruby 2.6.0dev (2018-09-18 trunk 64767) [x86_64-darwin15] ours: ruby 2.6.0dev (2018-09-18 opt_regexpmatch 64775) [x86_64-darwin15] last_commit=opt_regexpmatch1 is actually making things slower. Calculating ------------------------------------- trunk ours Optcarrot Lan_Master.nes 33.877 35.282 fps Comparison: Optcarrot Lan_Master.nes ours: 35.3 fps trunk: 33.9 fps - 1.04x slower
Diffstat (limited to 'insns.def')
-rw-r--r--insns.def11
1 files changed, 0 insertions, 11 deletions
diff --git a/insns.def b/insns.def
index 7fb7a577c8..35a6aa9def 100644
--- a/insns.def
+++ b/insns.def
@@ -1428,17 +1428,6 @@ opt_not
}
}
-/* optimized regexp match */
-DEFINE_INSN
-opt_regexpmatch1
-(VALUE recv)
-(VALUE obj)
-(VALUE val)
-// attr bool leaf = false; /* rb_reg_prepare_enc() may rb_raise() that calls rb_funcallv() */
-{
- val = vm_opt_regexpmatch1(recv, obj);
-}
-
/* optimized regexp match 2 */
DEFINE_INSN
opt_regexpmatch2