From b5146e375aca25a15ec46978711cde28e5f761d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8D=9C=E9=83=A8=E6=98=8C=E5=B9=B3?= Date: Tue, 6 Aug 2019 12:56:18 +0900 Subject: leafify opt_plus Inspired by 346aa557b31fe96760e505d30da26eb7a846bac9 Closes: https://github.com/ruby/ruby/pull/2321 --- insns.def | 3 --- 1 file changed, 3 deletions(-) (limited to 'insns.def') 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); -- cgit v1.2.3