summaryrefslogtreecommitdiff
path: root/run.c
diff options
context:
space:
mode:
authorMalcolm Beattie <mbeattie@sable.ox.ac.uk>1997-09-29 16:57:23 +0000
committerMalcolm Beattie <mbeattie@sable.ox.ac.uk>1997-09-29 16:57:23 +0000
commit2ddcc7aa6c936ba8e7a9703319dfd8959bb54574 (patch)
treeb71ca26eb63d153ac3532c533e89b09266239001 /run.c
parent8f95159f0f6f551c08c5f6e1a4d8807b332bc21a (diff)
downloadperl-2ddcc7aa6c936ba8e7a9703319dfd8959bb54574.tar.gz
Re-introduce the changes from change 68 (runops becomes a
function pointer and sv_bless3 for '~'-magic) which got lost during the preparation for the maint-merge. p4raw-id: //depot/perl@78
Diffstat (limited to 'run.c')
-rw-r--r--run.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/run.c b/run.c
index 2f8d8fa971..1e1001d4ad 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");