aboutsummaryrefslogtreecommitdiffstats
path: root/insns.def
diff options
context:
space:
mode:
author卜部昌平 <shyouhei@ruby-lang.org>2019-08-06 12:56:18 +0900
committerTakashi Kokubun <takashikkbn@gmail.com>2019-08-06 20:59:19 +0900
commitb5146e375aca25a15ec46978711cde28e5f761d6 (patch)
treebd85c41b2a077e95476ec35a93d5923706be5559 /insns.def
parent43b52ac0a52807c415e9d24d25954f5055567c5e (diff)
downloadruby-b5146e375aca25a15ec46978711cde28e5f761d6.tar.gz
leafify opt_plus
Inspired by 346aa557b31fe96760e505d30da26eb7a846bac9 Closes: https://github.com/ruby/ruby/pull/2321
Diffstat (limited to 'insns.def')
-rw-r--r--insns.def3
1 files changed, 0 insertions, 3 deletions
diff --git a/insns.def b/insns.def
index 40855d6f9d..6cfb3b121f 100644
--- a/insns.def
+++ b/insns.def
@@ -1080,9 +1080,6 @@ opt_plus
(CALL_INFO ci, CALL_CACHE cc)
(VALUE recv, VALUE obj)
(VALUE val)
-/* Array + anything can be handled inside of opt_plus, and that
- * anything is converted into array using #to_ary. */
-// attr bool leaf = false; /* has rb_to_array_type() */
{
val = vm_opt_plus(recv, obj);