summaryrefslogtreecommitdiff
path: root/embedvar.h
diff options
context:
space:
mode:
authorEnache Adrian <enache@rdslink.ro>2003-07-05 22:08:07 +0300
committerNicholas Clark <nick@ccl4.org>2012-09-20 11:18:02 +0200
commitcec4dc0e420ef6e3b19b0e6f661d2b4fa43b93fa (patch)
tree99d3cee00fd3b2ca7edc3341a29385b1946c5c4f /embedvar.h
parent5f7e30c4a6075995b75f8d337d2b381e5463bce3 (diff)
downloadperl-cec4dc0e420ef6e3b19b0e6f661d2b4fa43b93fa.tar.gz
Get rid of PL_formfeed.
$^L is neither a magical variable, nor a normal one (like $;) but it's just a little bit special :) This patch removes PL_formfeed - IMHO, an extra gv_fetchpv per page when using formats isn't going to cause a sensible speed regression. I suppose that removing the intrpvar.h hunk from the patch is enough to keep binary compatibility - unless someone used PL_formfeed from an XS module. [with regen.pl run as noted by the author, and an additional change to perl.c to remove the reference to PL_formfeed added soon after this patch was sent]
Diffstat (limited to 'embedvar.h')
-rw-r--r--embedvar.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/embedvar.h b/embedvar.h
index b9fabab437..92bd2ae5d3 100644
--- a/embedvar.h
+++ b/embedvar.h
@@ -174,7 +174,6 @@
#define PL_filemode (vTHX->Ifilemode)
#define PL_firstgv (vTHX->Ifirstgv)
#define PL_forkprocess (vTHX->Iforkprocess)
-#define PL_formfeed (vTHX->Iformfeed)
#define PL_formtarget (vTHX->Iformtarget)
#define PL_generation (vTHX->Igeneration)
#define PL_gensym (vTHX->Igensym)