summaryrefslogtreecommitdiff
path: root/vm_backtrace.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-05-05 03:22:20 (GMT)
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-05-05 03:22:20 (GMT)
commit84f94652b019d8024fde8e8208fc4fc7c225870e (patch)
tree62ae54c9e0f14e65f98d6a7b76314bb4d862e12e /vm_backtrace.c
parent77421bcc58669a0bd3bcfbeb779c6ba974fc0fc3 (diff)
use TH_JUMP_TAG
* vm_eval.c (rb_eval_cmd, rb_catch_obj): use TH_JUMP_TAG with the same rb_thread_t used for TH_PUSH_TAG, instead of JUMP_TAG with the current thread global variable. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54914 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_backtrace.c')
-rw-r--r--vm_backtrace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm_backtrace.c b/vm_backtrace.c
index 31ca10f..bdc996d 100644
--- a/vm_backtrace.c
+++ b/vm_backtrace.c
@@ -1191,7 +1191,7 @@ rb_debug_inspector_open(rb_debug_inspector_func_t func, void *data)
/* invalidate bindings? */
if (state) {
- JUMP_TAG(state);
+ TH_JUMP_TAG(th, state);
}
return result;