From 4a23f0695a40e735a2215ea9fbf7e388e384f051 Mon Sep 17 00:00:00 2001 From: nobu Date: Wed, 18 Nov 2015 02:32:17 +0000 Subject: compile.c: optimize useless branches * compile.c (iseq_peephole_optimize): eliminate always/never branches after a literal object. this sequence typically appears by defined? operator for a method call on a local variable. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52633 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index b5a13556d9..2075e954e1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +Wed Nov 18 11:32:15 2015 Nobuyoshi Nakada + + * compile.c (iseq_peephole_optimize): eliminate always/never + branches after a literal object. this sequence typically + appears by defined? operator for a method call on a local + variable. + Wed Nov 18 10:33:06 2015 NAKAMURA Usaku * ext/socket/ancdata.c (bsock_recvmsg_internal): stretch the buffer size -- cgit v1.2.3