branch point via a fake resolution with the maint-merge branch.
See Perforce Tech Note 9 for details.
p4raw-id: //depot/perl@77
/* likewise for these */
-EXT OP * op; /* current op--oughta be in a global register */
-
+#ifdef OP_IN_REGISTER
+EXT OP * opsave; /* save current op register across longjmps */
+#else
+EXT OP * op; /* current op--when not in a global register */
+#endif
- EXT int (*runops) _((void)) INIT(RUNOPS_DEFAULT);
EXT I32 * scopestack; /* blocks we've entered */
EXT I32 scopestack_ix;
EXT I32 scopestack_max;
dEXT char **watchaddr = 0;
dEXT char *watchok;
+ #ifndef DEBUGGING
+
int
- runops_standard() {
+ runops() {
+ dTHR;
SAVEI32(runlevel);
runlevel++;
return 0;
}
- #ifdef DEBUGGING
+ #else
+
-static void debprof _((OP*op));
+static void debprof _((OP*o));
int
- runops_debug() {
+ runops() {
+ dTHR;
if (!op) {
warn("NULL OP IN RUN");
return 0;
}
SV*
- sv_bless3(sv,stash,zaptilde)
+ sv_bless(sv,stash)
SV* sv;
HV* stash;
- bool zaptilde;
{
+ dTHR;
SV *ref;
if (!SvROK(sv))
croak("Can't bless non-reference value");