diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-05-05 03:22:20 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-05-05 03:22:20 +0000 |
commit | 84f94652b019d8024fde8e8208fc4fc7c225870e (patch) | |
tree | 62ae54c9e0f14e65f98d6a7b76314bb4d862e12e /load.c | |
parent | 77421bcc58669a0bd3bcfbeb779c6ba974fc0fc3 (diff) | |
download | ruby-84f94652b019d8024fde8e8208fc4fc7c225870e.tar.gz |
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 'load.c')
-rw-r--r-- | load.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); } } |