3 * Copyright (c) 1991-1997, Larry Wall
5 * You may distribute under the terms of either the GNU General Public
6 * License or the Artistic License, as specified in the README file.
14 * "Away now, Shadowfax! Run, greatheart, run as you have never run before!
15 * Now we are come to the lands where you were foaled, and every stone you
16 * know. Run now! Hope is in speed!" --Gandalf
21 runops_standard(void) {
24 while ( op = (*op->op_ppaddr)(ARGS) ) ;
32 dEXT char **watchaddr = 0;
35 static void debprof _((OP*o));
41 warn("NULL OP IN RUN");
47 if (watchaddr != 0 && *watchaddr != watchok)
48 PerlIO_printf(Perl_debug_log, "WARNING: %lx changed from %lx to %lx\n",
49 (long)watchaddr, (long)watchok, (long)*watchaddr);
54 } while ( op = (*op->op_ppaddr)(ARGS) );
64 deb("%s", op_name[o->op_type]);
67 PerlIO_printf(Perl_debug_log, "(%s)", SvPEEK(cSVOPo->op_sv));
73 gv_fullname3(sv, cGVOPo->op_gv, Nullch);
74 PerlIO_printf(Perl_debug_log, "(%s)", SvPV(sv, na));
78 PerlIO_printf(Perl_debug_log, "(NULL)");
83 PerlIO_printf(Perl_debug_log, "\n");
92 PerlIO_printf(Perl_debug_log, "WATCHING, %lx is currently %lx\n",
93 (long)watchaddr, (long)watchok);
100 New(000, profiledata, MAXO, U32);
101 ++profiledata[o->op_type];
110 for (i = 0; i < MAXO; i++) {
112 PerlIO_printf(Perl_debug_log,
113 "%u\t%lu\n", i, (unsigned long)profiledata[i]);
117 #endif /* DEBUGGING */