summaryrefslogtreecommitdiff
path: root/perlapi.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2007-10-05 20:31:23 +0000
committerNicholas Clark <nick@ccl4.org>2007-10-05 20:31:23 +0000
commit618b9757aa96db62da872255c9caeb6443086539 (patch)
tree4ffcbd40e46f844bae72d6530a1542a69da03059 /perlapi.h
parent5e7aa789c35577c2a092ac2f2d75bcee74e9b7f1 (diff)
downloadperl-618b9757aa96db62da872255c9caeb6443086539.tar.gz
PL_cshname is actually a constant value known at compile time.
PL_cshlen can be calculated by the compiler. So eliminate both as interpreter variables, and the code that calculates PL_cshlen at runtime. p4raw-id: //depot/perl@32035
Diffstat (limited to 'perlapi.h')
-rw-r--r--perlapi.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/perlapi.h b/perlapi.h
index 05cf09ff70..d924aff4ba 100644
--- a/perlapi.h
+++ b/perlapi.h
@@ -226,10 +226,6 @@ END_EXTERN_C
#define PL_cop_seqmax (*Perl_Icop_seqmax_ptr(aTHX))
#undef PL_cryptseen
#define PL_cryptseen (*Perl_Icryptseen_ptr(aTHX))
-#undef PL_cshlen
-#define PL_cshlen (*Perl_Icshlen_ptr(aTHX))
-#undef PL_cshname
-#define PL_cshname (*Perl_Icshname_ptr(aTHX))
#undef PL_curcop
#define PL_curcop (*Perl_Icurcop_ptr(aTHX))
#undef PL_curcopdb