diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1997-11-10 22:41:31 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1997-11-10 22:41:31 +0000 |
commit | 7c06b590c066c6b354b0347a68bd9817268651b8 (patch) | |
tree | 7ebb9bb01c5686f835c5be10b41fb97be1f5c295 /pp_ctl.c | |
parent | 32f822de0a58c2cc8f1a23844b97246c433bb418 (diff) | |
download | perl-7c06b590c066c6b354b0347a68bd9817268651b8.tar.gz |
Remove runlevel. It was used to count how many runops() calls
we were in the process of executing, and longjmp() to the topmost
one (if not already there). We use a null top_env->je_prev
to distinguish that now.
p4raw-id: //depot/win32/perl@223
Diffstat (limited to 'pp_ctl.c')
-rw-r--r-- | pp_ctl.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -2079,20 +2079,18 @@ OP *o; { dTHR; int ret; - I32 oldrunlevel = runlevel; OP *oldop = op; dJMPENV; op = o; #ifdef DEBUGGING assert(CATCH_GET == TRUE); - DEBUG_l(deb("(Setting up local jumplevel, runlevel = %ld)\n", (long)runlevel+1)); + DEBUG_l(deb("Setting up local jumplevel %p, was %p\n", &cur_env, top_env)); #endif JMPENV_PUSH(ret); switch (ret) { default: /* topmost level handles it */ JMPENV_POP; - runlevel = oldrunlevel; op = oldop; JMPENV_JUMP(ret); /* NOTREACHED */ @@ -2109,7 +2107,6 @@ OP *o; break; } JMPENV_POP; - runlevel = oldrunlevel; op = oldop; return Nullop; } |