1 #define DOOP(ppname) PUTBACK; PL_op = ppname(ARGS); SPAGAIN
3 #define PP_LIST(g) do { \
9 *MARK = &PL_sv_undef; \
14 #define MAYBE_TAINT_SASSIGN_SRC(sv) \
15 if (PL_tainting && PL_tainted && (!SvGMAGICAL(left) || !SvSMAGICAL(left) || \
16 !((mg=mg_find(left, 't')) && mg->mg_len & 1)))\
19 #define PP_PREINC(sv) do { \
22 SvFLAGS(sv) &= ~(SVf_NOK|SVf_POK|SVp_NOK|SVp_POK); \
29 #define PP_UNSTACK do { \
31 PL_stack_sp = PL_stack_base + cxstack[cxstack_ix].blk_oldsp; \
33 oldsave = PL_scopestack[PL_scopestack_ix - 1]; \
34 LEAVE_SCOPE(oldsave); \
38 /* Anyone using eval "" deserves this mess */
39 #define PP_EVAL(ppaddr, nxt) do { \
46 PL_op = ppaddr(ARGS); \
47 PL_retstack[PL_retstack_ix - 1] = Nullop; \
48 if (PL_op != nxt) CALLRUNOPS(); \
51 case 1: JMPENV_POP; JMPENV_JUMP(1); \
52 case 2: JMPENV_POP; JMPENV_JUMP(2); \
55 if (PL_restartop != nxt) \
62 #define B_JMPENV_PUSH(cur_env,v) \
64 cur_env.je_prev = PL_top_env; \
66 cur_env.je_ret = PerlProc_setjmp(cur_env.je_buf, 1); \
68 PL_top_env = &cur_env; \
69 cur_env.je_mustcatch = FALSE; \
70 (v) = cur_env.je_ret; \
72 #define B_JMPENV_POP(cur_env) \
73 STMT_START { PL_top_env = cur_env.je_prev; } STMT_END
75 #define B_JMPENV_JUMP(cur_env,v) \
78 if (PL_top_env->je_prev) \
79 PerlProc_longjmp(PL_top_env->je_buf, (v)); \
81 PerlProc_exit(STATUS_NATIVE_EXPORT); \
82 PerlIO_printf(PerlIO_stderr(), "panic: top_env\n"); \
87 #define PP_ENTERTRY(jmpbuf,label) { \
89 B_JMPENV_PUSH(jmpbuf,ret); \
91 case 1: B_JMPENV_POP(jmpbuf); B_JMPENV_JUMP(jmpbuf,1); \
92 case 2: B_JMPENV_POP(jmpbuf); B_JMPENV_JUMP(jmpbuf,2); \
93 case 3: B_JMPENV_POP(jmpbuf); SPAGAIN; goto label;\
97 #define PP_LEAVETRY PL_top_env=PL_top_env->je_prev