From 0fc7f4bb304ad07e8172f868d885112a1dcceb0f Mon Sep 17 00:00:00 2001 From: ko1 Date: Fri, 19 Oct 2012 07:57:56 +0000 Subject: * eval.c, vm_eval.c: use TH_PUSH_TAG() instead of PUSH_TAG(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37267 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- vm_eval.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'vm_eval.c') diff --git a/vm_eval.c b/vm_eval.c index e1227efd98..4b1c95c0fd 100644 --- a/vm_eval.c +++ b/vm_eval.c @@ -1652,11 +1652,11 @@ rb_catch_obj(VALUE tag, VALUE (*func)(), VALUE data) rb_thread_t *th = GET_THREAD(); rb_control_frame_t *saved_cfp = th->cfp; - PUSH_TAG(); + TH_PUSH_TAG(th); th->tag->tag = tag; - if ((state = EXEC_TAG()) == 0) { + if ((state = TH_EXEC_TAG()) == 0) { /* call with argc=1, argv = [tag], block = Qnil to insure compatibility */ val = (*func)(tag, data, 1, &tag, Qnil); } @@ -1666,7 +1666,7 @@ rb_catch_obj(VALUE tag, VALUE (*func)(), VALUE data) th->errinfo = Qnil; state = 0; } - POP_TAG(); + TH_POP_TAG(); if (state) JUMP_TAG(state); -- cgit v1.2.3