From c7a622b32220ef59969124212598b6848bcaa247 Mon Sep 17 00:00:00 2001 From: Daniel Dragan Date: Wed, 15 Jul 2015 21:59:58 -0400 Subject: combine PERLDB_LINE and PERLDB_SAVESRC flag tests On VC2003 32b -O1, the .text section of miniperl.exe decreased from 0xAEFCD bytes of machine code to 0xAEF9D after this patch. see also http://www.nntp.perl.org/group/perl.perl5.porters/2015/07/msg229308.html --- gv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gv.c') diff --git a/gv.c b/gv.c index 242ea87ed3..5d642af48d 100644 --- a/gv.c +++ b/gv.c @@ -129,7 +129,7 @@ Perl_gv_fetchfile_flags(pTHX_ const char *const name, const STRLEN namelen, sv_setpvn(GvSV(gv), name, namelen); #endif } - if ((PERLDB_LINE || PERLDB_SAVESRC) && !GvAV(gv)) + if (PERLDB_LINE_OR_SAVESRC && !GvAV(gv)) hv_magic(GvHVn(gv), GvAVn(gv), PERL_MAGIC_dbfile); if (tmpbuf != smallbuf) Safefree(tmpbuf); -- cgit v1.2.1