develooper Front page | perl.perl5.porters | Postings from June 2008

[PATCH] fix debop with pad const

Thread Next
Reini Urban
June 24, 2008 03:06
[PATCH] fix debop with pad const
Message ID:
debop (-Dt) will fail with certain consts.
With ITHREADS, consts are stored in the pad, and the right pad
may not be active here, so check. Same check as in mad do_op_xmldump.

Porting/ cSVOPo_sv =>
(((SVOP*)o)->op_sv ?
   ((SVOP*)o)->op_sv : ((my_perl->Icurpad)[(o)->op_targ]))

Reini Urban

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About