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

[PATCH] fix debop with pad const

Thread Next
From:
Reini Urban
Date:
June 24, 2008 03:06
Subject:
[PATCH] fix debop with pad const
Message ID:
4860C745.2020307@x-ray.at
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/expand-macro.pl cSVOPo_sv =>
(((SVOP*)o)->op_sv ?
   ((SVOP*)o)->op_sv : ((my_perl->Icurpad)[(o)->op_targ]))

-- 
Reini Urban
http://phpwiki.org/  http://murbreak.at/

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About