From 8f73480c3d9b1497b6ddebdf92b79b480d365670 Mon Sep 17 00:00:00 2001 From: takano32 Date: Tue, 12 Mar 2013 08:02:17 +0000 Subject: [PATCH] * insns.def: fix condition. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39733 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 4 ++++ insns.def | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index cc45f27456..e9e4e19d2b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Tue Mar 12 17:00:45 2013 TAKANO Mitsuhiro + + * insns.def: fix condition. + Tue Mar 12 16:48:19 2013 TAKANO Mitsuhiro * rational.c: fix dangling if, else-if and else. diff --git a/insns.def b/insns.def index 85c0a38471..979aa1cc6a 100644 --- a/insns.def +++ b/insns.def @@ -866,7 +866,7 @@ trace } 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); } /**********************************************************/