From 41bdcc2ea8b1c8237b5a92ec2845cb3d76e37c36 Mon Sep 17 00:00:00 2001 From: nobu Date: Thu, 5 May 2016 03:22:20 +0000 Subject: 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 --- load.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'load.c') diff --git a/load.c b/load.c index 1ae2fcb34f..9c8d2b1a21 100644 --- a/load.c +++ b/load.c @@ -646,7 +646,7 @@ rb_load_internal(VALUE fname, int wrap) int state = rb_load_internal0(curr_th, fname, wrap); if (state) { if (state == TAG_RAISE) rb_exc_raise(curr_th->errinfo); - JUMP_TAG(state); + TH_JUMP_TAG(curr_th, state); } } -- cgit v1.2.3