diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-04-25 01:35:13 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-04-25 01:35:13 +0000 |
commit | 378a63a638028a855ad089ce208585cbb9f6c07c (patch) | |
tree | 3a3f7b00ed003baf4eff8f43840112ba5939b7aa /eval_intern.h | |
parent | 609e70cd228863b0da397c6744b73b0d9533fb41 (diff) | |
download | ruby-378a63a638028a855ad089ce208585cbb9f6c07c.tar.gz ruby-378a63a638028a855ad089ce208585cbb9f6c07c.tar.xz ruby-378a63a638028a855ad089ce208585cbb9f6c07c.zip |
* 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: http://svn.ruby-lang.org/repos/ruby/trunk@12212 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval_intern.h')
-rw-r--r-- | eval_intern.h | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/eval_intern.h b/eval_intern.h index 0cb4006d7..ce059ae04 100644 --- a/eval_intern.h +++ b/eval_intern.h @@ -131,24 +131,10 @@ char *strrchr _((const char *, const char)); #define TH_POP_TAG2() \ _th->tag = _tag.prev -#define PUSH_TAG(ptag) TH_PUSH_TAG(GET_THREAD()) +#define PUSH_TAG() TH_PUSH_TAG(GET_THREAD()) #define POP_TAG() TH_POP_TAG() #define POP_TAG_INIT() } while (0) -#define PUSH_THREAD_TAG() \ - PUSH_TAG(PROT_THREAD) - -#define POP_THREAD_TAG() \ - POP_TAG() - -#define PROT_NONE Qfalse /* 0 */ -#define PROT_THREAD Qtrue /* 2 */ -#define PROT_FUNC INT2FIX(0) /* 1 */ -#define PROT_LOOP INT2FIX(1) /* 3 */ -#define PROT_LAMBDA INT2FIX(2) /* 5 */ -#define PROT_YIELD INT2FIX(3) /* 7 */ -#define PROT_TOP INT2FIX(4) /* 9 */ - #define TH_EXEC_TAG() \ (FLUSH_REGISTER_WINDOWS, ruby_setjmp(_th->tag->buf)) |