diff options
author | Malcolm Beattie <mbeattie@sable.ox.ac.uk> | 1997-09-22 16:01:48 +0000 |
---|---|---|
committer | Malcolm Beattie <mbeattie@sable.ox.ac.uk> | 1997-09-22 16:01:48 +0000 |
commit | b83535cb553b94cd457aaceadbc320b293a81b7c (patch) | |
tree | fcdecfade8ccfb2652c468f025c4bc3a32791f49 /run.c | |
parent | d9f997d712a9ca9f2b66409f2920290ddaf904c3 (diff) | |
download | perl-b83535cb553b94cd457aaceadbc320b293a81b7c.tar.gz |
runops becomes a funtion pointer and sv_bless3 created
to avoid pointer forgery with '~'-magic.
p4raw-id: //depot/perl@68
Diffstat (limited to 'run.c')
-rw-r--r-- | run.c | 9 |
1 files changed, 3 insertions, 6 deletions
@@ -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"); |