X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=run.c;h=1e1001d4addf651271e9216398c41ec5b28b0afa;hb=f6d98b14fd224d7fe398ef16332eaa45bf13b92f;hp=e41616019cee50890600bda88aa982abc376e90b;hpb=5dc0d6134ebb76636f69238201dde15cec972fd0;p=p5sagit%2Fp5-mst-13.2.git diff --git a/run.c b/run.c index e416160..1e1001d 100644 --- a/run.c +++ b/run.c @@ -19,10 +19,8 @@ dEXT char **watchaddr = 0; dEXT char *watchok; -#ifndef DEBUGGING - int -runops() { +runops_standard() { dTHR; SAVEI32(runlevel); runlevel++; @@ -33,12 +31,11 @@ runops() { return 0; } -#else - +#ifdef DEBUGGING static void debprof _((OP*o)); int -runops() { +runops_debug() { dTHR; if (!op) { warn("NULL OP IN RUN"); @@ -56,9 +53,6 @@ runops() { DEBUG_s(debstack()); DEBUG_t(debop(op)); DEBUG_P(debprof(op)); -#ifdef USE_THREADS - DEBUG_L(YIELD()); /* shake up scheduling a bit */ -#endif /* USE_THREADS */ } } while ( op = (*op->op_ppaddr)(ARGS) );