summaryrefslogtreecommitdiff
path: root/insns.def
diff options
context:
space:
mode:
Diffstat (limited to 'insns.def')
-rw-r--r--insns.def3
1 files changed, 2 insertions, 1 deletions
diff --git a/insns.def b/insns.def
index 0cc5bb9c8e..e9716f4d0f 100644
--- a/insns.def
+++ b/insns.def
@@ -871,8 +871,9 @@ trace
rb_sourceline());
}
}
+
EXEC_EVENT_HOOK(th, flag, GET_SELF(), 0, 0 /* id and klass are resolved at callee */,
- flag & RUBY_EVENT_RETURN ? TOPN(0) : Qundef);
+ (flag & RUBY_EVENT_RETURN | RUBY_EVENT_B_RETURN) ? TOPN(0) : Qundef);
}
/**********************************************************/