summaryrefslogtreecommitdiff
path: root/eval_load.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-04-25 01:35:13 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-04-25 01:35:13 +0000
commit354844be45efe799031b1a9799e8c6d52cc6b16d (patch)
tree3a3f7b00ed003baf4eff8f43840112ba5939b7aa /eval_load.c
parent4134a542baa4e9a5c49adab53272d74edfc55f4d (diff)
* eval_intern.h (PUSH_TAG): no argument now.
* eval.c, eval_error.h, eval_jump.h, eval_load.c, proc.c, thread.c: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12212 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval_load.c')
-rw-r--r--eval_load.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/eval_load.c b/eval_load.c
index debc2412e3..3210422bc4 100644
--- a/eval_load.c
+++ b/eval_load.c
@@ -172,7 +172,7 @@ rb_load(VALUE fname, int wrap)
rb_extend_object(th->top_self, th->top_wrapper);
}
- PUSH_TAG(PROT_NONE);
+ PUSH_TAG();
state = EXEC_TAG();
if (state == 0) {
rb_load_internal(RSTRING_PTR(fname));
@@ -201,11 +201,11 @@ rb_load_protect(VALUE fname, int wrap, int *state)
{
int status;
- PUSH_THREAD_TAG();
+ PUSH_TAG();
if ((status = EXEC_TAG()) == 0) {
rb_load(fname, wrap);
}
- POP_THREAD_TAG();
+ POP_TAG();
if (state)
*state = status;
}
@@ -384,7 +384,7 @@ rb_require_safe(VALUE fname, int safe)
} volatile saved;
char *volatile ftptr = 0;
- PUSH_TAG(PROT_NONE);
+ PUSH_TAG();
saved.node = ruby_current_node;
saved.safe = rb_safe_level();
if ((state = EXEC_TAG()) == 0) {