Expecting the targ in sp[-1] rather than sp[0] is accomplished
cleanly using dATARGET.
#define tryAMAGICunTARGET(meth, shift, jump) \
STMT_START { \
- dSP; \
- sp--; /* get TARGET from below PL_stack_sp */ \
- { \
- dTARGETSTACKED; \
+ dATARGET; \
dSP; \
SV *tmpsv; \
SV *arg= sp[shift]; \
} \
return NORMAL; \
} \
- } \
} STMT_END
/* This is no longer used anywhere in the core. You might wish to consider