[前][次][番号順一覧][スレッド一覧]

ruby-changes:27681

From: takano32 <ko1@a...>
Date: Tue, 12 Mar 2013 17:04:22 +0900 (JST)
Subject: [ruby-changes:27681] takano32:r39733 (trunk): * insns.def: fix condition.

takano32	2013-03-12 17:02:17 +0900 (Tue, 12 Mar 2013)

  New Revision: 39733

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=39733

  Log:
    * insns.def: fix condition.

  Modified files:
    trunk/ChangeLog
    trunk/insns.def

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 39732)
+++ ChangeLog	(revision 39733)
@@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Tue Mar 12 17:00:45 2013  TAKANO Mitsuhiro <tak@n...>
+
+	* insns.def: fix condition.
+
 Tue Mar 12 16:48:19 2013  TAKANO Mitsuhiro <tak@n...>
 
 	* rational.c: fix dangling if, else-if and else.
Index: insns.def
===================================================================
--- insns.def	(revision 39732)
+++ insns.def	(revision 39733)
@@ -866,7 +866,7 @@ trace https://github.com/ruby/ruby/blob/trunk/insns.def#L866
     }
 
     EXEC_EVENT_HOOK(th, flag, GET_SELF(), 0, 0 /* id and klass are resolved at callee */,
-		    (flag & RUBY_EVENT_RETURN | RUBY_EVENT_B_RETURN) ? TOPN(0) : Qundef);
+		    (flag & (RUBY_EVENT_RETURN | RUBY_EVENT_B_RETURN)) ? TOPN(0) : Qundef);
 }
 
 /**********************************************************/

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]