File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -112,10 +112,12 @@ typedef struct jmpenv JMPENV;
112
112
113
113
#define JMPENV_PUSH (v ) \
114
114
STMT_START { \
115
- PERL_DEB(int i=0); \
116
115
DEBUG_l({ \
116
+ int i = 0; \
117
117
JMPENV *p = PL_top_env; \
118
118
while (p) { i++; p = p->je_prev; } \
119
+ Perl_deb(aTHX_ "JMPENV_PUSH pre level=%d at %s:%d\n", \
120
+ i, __FILE__, __LINE__); \
119
121
}); \
120
122
cur_env.je_prev = PL_top_env; \
121
123
JE_OLD_STACK_HWM_save(cur_env); \
@@ -124,11 +126,14 @@ typedef struct jmpenv JMPENV;
124
126
PL_top_env = &cur_env; \
125
127
cur_env.je_mustcatch = FALSE; \
126
128
cur_env.je_old_delaymagic = PL_delaymagic; \
127
- (v) = cur_env.je_ret; \
128
129
DEBUG_l({ \
130
+ int i = 0; \
131
+ JMPENV *p = PL_top_env; \
132
+ while (p) { i++; p = p->je_prev; } \
129
133
Perl_deb(aTHX_ "JMPENV_PUSH level=%d ret=%d at %s:%d\n", \
130
134
i, cur_env.je_ret, __FILE__, __LINE__); \
131
135
}); \
136
+ (v) = cur_env.je_ret; \
132
137
} STMT_END
133
138
134
139
#define JMPENV_POP \
You can’t perform that action at this time.
0 commit comments