summaryrefslogtreecommitdiff
path: root/intrpvar.h
Commit message (Collapse)AuthorAgeFilesLines
* Add Perl_mro_register() to register Method Resolution Orders,Nicholas Clark2008-12-271-0/+6
| | | | | | Perl_mro_get_from_name() to retrieve MROs by name, and PL_registered_mros to store them in. Abolish the static array of mros, and instead register the dfs and c3 MRO structures.
* The vestigial PL_pad_reset_pending can actually be bool, rather thanNicholas Clark2008-11-261-5/+4
| | | | | | I32. This permits some space saving rejigging of the interpreter struct. p4raw-id: //depot/perl@34930
* Note where there is a U8 of space.Nicholas Clark2008-11-181-0/+2
| | | p4raw-id: //depot/perl@34887
* Rename PL_breakable_sub_generation to PL_breakable_sub_gen, to pleaseNicholas Clark2008-11-181-1/+2
| | | | | the ANSI gods of VMS. p4raw-id: //depot/perl@34886
* Fix the bug introduced with MRO, whereby the internals were not savingNicholas Clark2008-11-171-0/+2
| | | | | lines in subroutines defined inside eval ""s for the debugger. p4raw-id: //depot/perl@34873
* [perl #948] [PATCH] Allow tied $,Chip Salzenberg2008-11-141-3/+3
| | | | | Message-ID: <20081114084436.GJ5779@tytlal.topaz.cx> p4raw-id: //depot/perl@34831
* Update copyright years.Nicholas Clark2008-10-251-2/+1
| | | p4raw-id: //depot/perl@34585
* Add SV allocation tracing to -Dm and PERL_MEM_LOGMarcus Holland-Moritz2008-10-241-0/+4
| | | | | Message-ID: <20081022013731.23b5a2e5@r2d2> p4raw-id: //depot/perl@34568
* As best as I (and my minion, gcc -Os) can tell, PL_curcop andNicholas Clark2008-02-221-2/+2
| | | | | | PL_in_eval do not need to be volatile. This improves the generated code measurably - for example toke.o is 1.5% smaller. Every little helps. p4raw-id: //depot/perl@33355
* Pack the recycled pad offsets into an SV at PL_regex_pad[0]. This willNicholas Clark2008-01-111-1/+2
| | | | | use less memory than an AV. p4raw-id: //depot/perl@32959
* Note the U8 sized space created by removing -P, and check that it isNicholas Clark2008-01-111-1/+1
| | | | | now an illegal command line flag. p4raw-id: //depot/perl@32956
* Remove the -P switchRafael Garcia-Suarez2008-01-111-1/+0
| | | p4raw-id: //depot/perl@32954
* Better descriptions for PL_regex_pad and PL_regex_padav.Nicholas Clark2008-01-101-3/+6
| | | p4raw-id: //depot/perl@32944
* make miniperl -Wwrite-strings cleanRobin Barker2007-12-201-1/+1
| | | | | | From: "Robin Barker" <Robin.Barker@npl.co.uk> Message-ID: <46A0F33545E63740BC7563DE59CA9C6D09399A@exchsvr2.npl.ad.local> p4raw-id: //depot/perl@32681
* mod_perl is special, and assigns meaning to a perl_destruct_level ofNicholas Clark2007-12-031-1/+2
| | | | | | | -1. Really this should be I8, but it turns out that Configure's choice of type for I8 is buggy - it always uses char, which is unsigned on some platforms. p4raw-id: //depot/perl@32561
* Remove (probably) the last vestige of the assertions implementation -Nicholas Clark2007-11-241-2/+0
| | | | | a now unused variable. p4raw-id: //depot/perl@32477
* Bug fix for storing shared objects in shared structuresJerry D. Hedden2007-11-081-0/+3
| | | | | | | | From: "Jerry D. Hedden" <jdhedden@cpan.org> Message-ID: <1ff86f510711061136t52a1fe62waf384c4551612181@mail.gmail.com> (core patch only) p4raw-id: //depot/perl@32241
* "Bake" the values of PERL_REVISION, PERL_VERSION and PERL_SUBVERSIONNicholas Clark2007-11-071-0/+6
| | | | | | | | | | | into global variables (and hence a shared perl library). Additionally under MULTIPLICITY record the size of the interpreter structure (total, and for this version) and under PERL_GLOBAL_STRUCT the size of the global variables structure. Coupled with PL_bincompat_options this will allow 5.10.1 (and later), when compiled with a shared perl library, to perform sanity checks in main() to verify that the shared library is indeed binary compatible. p4raw-id: //depot/perl@32238
* Move (most of) the conditionally compiled members of the interpreterNicholas Clark2007-10-081-26/+25
| | | | | structure to the end. p4raw-id: //depot/perl@32068
* Shrink 4 bytes (ILP32) from the interpreter structure.Nicholas Clark2007-10-081-10/+9
| | | | | | | (Spotted a U8 sized hole, and filled the known U16 sized hole). Moved the sig_pending so that its int fills the 4 byte space left by csh_len, to reduce padding on LP64. p4raw-id: //depot/perl@32067
* PL_cshname is actually a constant value known at compile time.Nicholas Clark2007-10-051-5/+0
| | | | | | | 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
* Reverse change #31978Rafael Garcia-Suarez2007-10-031-8/+2
| | | | | p4raw-link: @31978 on //depot/perl: d804f4346b490171e547d5cc512063e53da10708 p4raw-id: //depot/perl@32015
* Move the bool v_string_ok into the U16-sized gap in the interpreterNicholas Clark2007-09-271-3/+7
| | | | | | structure. Add a "spare" variable so that we can add the first post- 5.10.0 bool variable without growing the interpreter structure. p4raw-id: //depot/perl@31987
* RE: [PATCH] use 5.010 is ugly; use 5.10.0 warnsRobin Barker2007-09-261-1/+3
| | | | | | From: "Robin Barker" <Robin.Barker@npl.co.uk> Message-ID: <2C2E01334A940D4792B3E115F95B7226C9D1C3@exchsvr1.npl.ad.local> p4raw-id: //depot/perl@31978
* Note the gotcha about newlines in the elements of PL_preambleav.Nicholas Clark2007-09-151-0/+4
| | | p4raw-id: //depot/perl@31871
* enable utf8 cache assertions on DEBUGGING buildsDave Mitchell2007-09-141-1/+1
| | | p4raw-id: //depot/perl@31868
* change #31246 unconditionally enabled utf8 cache debugging codeDave Mitchell2007-09-101-1/+1
| | | | | p4raw-link: @31246 on //depot/perl: 95ca8690fb514421b98da534c91bfd455c9daabc p4raw-id: //depot/perl@31842
* Re: optimize push @ISA, (was Re: parent.pm at http://corion.net/perl-dev)Brandon Black2007-08-311-2/+0
| | | | | | From: "Brandon Black" <blblack@gmail.com> Message-ID: <84621a60708121336m13dcf9e5uac624fb246f2a79c@mail.gmail.com> p4raw-id: //depot/perl@31770
* delete PL_hash_seed_set, PL_lineary; move PL_runops_std/dbgDave Mitchell2007-05-251-6/+0
| | | | | | | the first two aren't used, and the last two are just place holders to ensure that both runops functions get linked in; so make them global rather than per-interpeter p4raw-id: //depot/perl@31280
* move PL_error_count into the PL_parser structDave Mitchell2007-05-211-1/+0
| | | p4raw-id: //depot/perl@31255
* move PL_multi_end into the PL_parser structDave Mitchell2007-05-211-2/+0
| | | p4raw-id: //depot/perl@31254
* move PL_tokenbuf into the PL_parser structDave Mitchell2007-05-211-2/+0
| | | p4raw-id: //depot/perl@31252
* delete unused vars PL_av_fetch_sv, PL_hv_fetch_svDave Mitchell2007-05-201-5/+5
| | | | | | and fix 'duplicate symbol' warnings from embed.pl for utf8cache and sh_path p4raw-id: //depot/perl@31246
* delete thrdvar.h and move its contents to intrpvar.hDave Mitchell2007-05-201-11/+182
| | | p4raw-id: //depot/perl@31245
* PERL_IMPLICIT_CONTEXT is usually defined for threads, so assume thatNicholas Clark2007-05-141-6/+4
| | | | | | its int needs a friend under LP64. gcc -Wpaddedspotted padding I'd missed in thrdvar.h p4raw-id: //depot/perl@31217
* move PL_in_my and PL_in_my_stash into the PL_parser structDave Mitchell2007-05-121-3/+0
| | | p4raw-id: //depot/perl@31203
* move PL_rsfp_filters into the parser structDave Mitchell2007-05-121-1/+0
| | | p4raw-id: //depot/perl@31200
* move PL_rsfp into the PL_parser structDave Mitchell2007-05-111-1/+0
| | | | | and simplify its creation and destruction p4raw-id: //depot/perl@31199
* move PL_lex_state into the PL_parser structDave Mitchell2007-05-051-2/+1
| | | p4raw-id: //depot/perl@31154
* Shuffling PL_gensym saves 8 bytes on LP64 systems.Nicholas Clark2007-05-051-2/+2
| | | p4raw-id: //depot/perl@31152
* migrate more variables to PL_parser struct:Dave Mitchell2007-05-051-10/+0
| | | | | PL_nexttoke PL_curforce PL_nextval PL_nexttype p4raw-id: //depot/perl@31148
* move some more variables into the PL_parser struct:Dave Mitchell2007-05-041-11/+0
| | | | | | | PL_bufptr PL_oldbufptr PL_oldoldbufptr PL_linestart PL_bufend PL_last_uni PL_last_lop PL_last_lop_op p4raw-id: //depot/perl@31147
* move PL_expect and PL_copline into the PL_parser structureDave Mitchell2007-05-041-4/+4
| | | p4raw-id: //depot/perl@31134
* Re: mro status, etcBrandon Black2007-04-301-0/+2
| | | | | | From: "Brandon Black" <blblack@gmail.com> Message-ID: <84621a60704291527y1b39be37l221ef66e4c828f66@mail.gmail.com> p4raw-id: //depot/perl@31107
* Make PL_uudmap a constant global. Remove the run time initialisationNicholas Clark2007-04-241-1/+0
| | | | | | | code, and instead use it to generate a header at perl build time. By removing uudmap from the interpreter structure we save 256 bytes per child thread. p4raw-id: //depot/perl@31059
* move PL_linestr from the interpreter struct to the parser structDave Mitchell2007-04-241-1/+0
| | | p4raw-id: //depot/perl@31058
* More variable reordering saves another 40 bytes from the interpreterNicholas Clark2007-04-231-38/+49
| | | | | structure. (on LP64). Zero cost space saving! Woohoo! p4raw-id: //depot/perl@31034
* Various variables in intrpvar.h and thrdvar.h are considerably largerNicholas Clark2007-04-211-6/+6
| | | | | than they need to be. p4raw-id: //depot/perl@31017
* Several members of struct yy_parser can go on a diet. Some I32s wereNicholas Clark2007-04-211-2/+2
| | | | | actually only holding chars. p4raw-id: //depot/perl@31015
* By re-ordering declarations in interpvar.h and thrdvar.h, reduce theNicholas Clark2007-04-211-41/+42
| | | | | | size of the interpreter structure. (For LP64, from 3712 to 3584, for ILP32, from 2288 to 2248). p4raw-id: //depot/perl@31014