diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-08-02 03:02:22 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-08-02 03:02:22 +0000 |
commit | 0b1c87724d1d999e2cc6545592fa5ea947673a71 (patch) | |
tree | 7ea49852f2a4905dcc035bd308d35cf7d2ba9a78 /vm_trace.c | |
parent | d22596dffd137af3425b2c58ec3a27323ab7a9ad (diff) | |
download | ruby-0b1c87724d1d999e2cc6545592fa5ea947673a71.tar.gz |
suppress warnings when RUBY_USE_SETJMPEX
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59467 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_trace.c')
-rw-r--r-- | vm_trace.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/vm_trace.c b/vm_trace.c index 7b8c76b3b4..284950e08d 100644 --- a/vm_trace.c +++ b/vm_trace.c @@ -402,6 +402,9 @@ rb_suppress_tracing(VALUE (*func)(VALUE), VALUE arg) if (!tracing) th->vm->trace_running--; if (state) { +#if defined RUBY_USE_SETJMPEX && RUBY_USE_SETJMPEX + RB_GC_GUARD(result); +#endif TH_JUMP_TAG(th, state); } |