summaryrefslogtreecommitdiff
path: root/eval_intern.h
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-12-06 03:16:08 (GMT)
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-12-06 03:16:08 (GMT)
commit0e34638f792ef908e59590266ed9edac5ce411f1 (patch)
tree20d1f0817d2c4a93d600d08aa37bb8235136bec8 /eval_intern.h
parentc1bd83cef742b7ff68d02cc490d018c6ac4d8c13 (diff)
remove `PUSH_TAG`/`EXEC_AG`/`POP_TAG`/`JUMO_TAG`.
* eval_intern.h: remove non-`EC_` prefix *_TAG() macros. Use `EC_` prefix macros explicitly. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61040 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval_intern.h')
-rw-r--r--eval_intern.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/eval_intern.h b/eval_intern.h
index 93f8663..7259a79 100644
--- a/eval_intern.h
+++ b/eval_intern.h
@@ -144,9 +144,6 @@ LONG WINAPI rb_w32_stack_overflow_handler(struct _EXCEPTION_POINTERS *);
#define EC_REPUSH_TAG() (void)(_ec->tag = &_tag)
-#define PUSH_TAG() EC_PUSH_TAG(GET_EC())
-#define POP_TAG() EC_POP_TAG()
-
#if defined __GNUC__ && __GNUC__ == 4 && (__GNUC_MINOR__ >= 6 && __GNUC_MINOR__ <= 8)
# define VAR_FROM_MEMORY(var) __extension__(*(__typeof__(var) volatile *)&(var))
# define VAR_INITIALIZED(var) ((var) = VAR_FROM_MEMORY(var))
@@ -198,13 +195,8 @@ rb_ec_tag_jump(const rb_execution_context_t *ec, enum ruby_tag_type st)
#define EC_EXEC_TAG() \
(ruby_setjmp(_tag.buf) ? rb_ec_tag_state(VAR_FROM_MEMORY(_ec)) : (EC_REPUSH_TAG(), 0))
-#define EXEC_TAG() \
- EC_EXEC_TAG()
-
#define EC_JUMP_TAG(ec, st) rb_ec_tag_jump(ec, st)
-#define JUMP_TAG(st) EC_JUMP_TAG(GET_EC(), (st))
-
#define INTERNAL_EXCEPTION_P(exc) FIXNUM_P(exc)
/* CREF operators */