p4raw-id: //depot/perl@5063
#include "perl.h"
#include "XSUB.h"
-#ifdef PURIFY
-#define DeadCode() NULL
-#else
SV *
DeadCode(pTHX)
{
+#ifdef PURIFY
+ return Nullsv;
+#else
SV* sva;
SV* sv, *dbg;
SV* ret = newRV_noinc((SV*)newAV());
PerlIO_printf(Perl_debug_log, "total: refs: %i, strings: %i in %i\targsarray: %i, argsstrings: %i\n", tref, tm, ts, ta, tas);
return ret;
-}
#endif /* !PURIFY */
+}
#if defined(PERL_DEBUGGING_MSTATS) || defined(DEBUGGING_MSTATS) \
|| (defined(MYMALLOC) && !defined(PLAIN_MALLOC))
STATIC void
S_cl_init(pTHX_ struct regnode_charclass_class *cl)
{
+ Zero(cl, 1, struct regnode_charclass_class);
cl->type = ANYOF;
cl_anything(cl);
}
STATIC void
S_cl_init_zero(pTHX_ struct regnode_charclass_class *cl)
{
+ Zero(cl, 1, struct regnode_charclass_class);
cl->type = ANYOF;
cl_anything(cl);
- ANYOF_CLASS_ZERO(cl);
- ANYOF_BITMAP_ZERO(cl);
if (LOC)
cl->flags |= ANYOF_LOCALE;
}