summaryrefslogtreecommitdiff
path: root/vm_eval.c
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-10-19 07:57:56 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-10-19 07:57:56 +0000
commit0fc7f4bb304ad07e8172f868d885112a1dcceb0f (patch)
treecee434a57852a17cfc00365434926d8e4c448586 /vm_eval.c
parente99989bf4fffa966b6333f43d47ce54e2384122c (diff)
* 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
Diffstat (limited to 'vm_eval.c')
-rw-r--r--vm_eval.c6
1 files changed, 3 insertions, 3 deletions
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);