git-svn-id: http://dev.catalyst.perl.org/repos/bast/trunk/Devel-Declare@4460
bd8105ee-0ff8-0310-8827-fb3f25b6796d
Changes for Devel-Declare
+ - only mangle evals if o->op_ppaddr is actually PL_ppaddr[OP_ENTERVAL]
- don't set OPf_SPECIAL on entereval ops, mistaken cargo cult from autobox
- fix traits code to work on older 5.8.x perls
STATIC OP *dd_ck_entereval(pTHX_ OP *o) {
o = dd_old_ck_entereval(aTHX_ o); /* let the original do its job */
- o->op_ppaddr = dd_pp_entereval;
+ if (o->op_ppaddr == PL_ppaddr[OP_ENTEREVAL])
+ o->op_ppaddr = dd_pp_entereval;
return o;
}