summaryrefslogtreecommitdiff
path: root/scope.c
Commit message (Collapse)AuthorAgeFilesLines
* Store a pointer to the op in struct block_loop, rather than the Nicholas Clark2006-09-171-5/+3
| | | | | | | pointers to last and redo. (for ithreads also drop the next pointer, as pp_ctl.c doesn't re-write it for ithreads). This shrinks the struct to 40 bytes on ILP32 systems, and therefore struct block to 64 bytes. p4raw-id: //depot/perl@28858
* Revert changes 28772, 28773, 28774 as they won't gain us anything - INicholas Clark2006-09-161-3/+3
| | | | | | failed to realise that struct block_sub is not the largest of the 4 structures in the block.blk_u union. (It's actually block_loop) p4raw-id: //depot/perl@28853
* Access to cx->blk_sub.lval via macros (as it's about to move).Nicholas Clark2006-09-011-1/+1
| | | p4raw-id: //depot/perl@28773
* Access cx->blk_sub.hasargs via a pair of macros (as it's about toNicholas Clark2006-09-011-2/+2
| | | | | move) p4raw-id: //depot/perl@28772
* g++ large patchJarkko Hietaniemi2006-08-071-1/+1
| | | | | Message-ID: <44D2E203.5050201@iki.fi> p4raw-id: //depot/perl@28662
* Rename cop_hints to cop_hints_hashNicholas Clark2006-05-201-2/+2
| | | p4raw-id: //depot/perl@28252
* De-duplicate the code that creates new GPs into Perl_newGP().Nicholas Clark2006-05-021-12/+2
| | | p4raw-id: //depot/perl@28058
* [perl #39012] another REIFY bugDave Mitchell2006-04-271-1/+1
| | | p4raw-id: //depot/perl@27986
* Change SAVECOPWARNINGS(c) to SAVECOMPILEWARNINGS() - it's only used toNicholas Clark2006-04-141-8/+5
| | | | | | | save the warnings on PL_compiling, so constraining its use to what we can test seems to make sense. Particularly as testing Perl_ss_dup is tricky. p4raw-id: //depot/perl@27805
* Remove SAVEt_FREESHAREDPV, as nothing is using it, and it isn't cateredNicholas Clark2006-04-131-4/+0
| | | | | | for in Perl_ss_dup, hence nothing is testing it and nothing will alert us if it breaks. p4raw-id: //depot/perl@27792
* Change cop_warnings from an SV holding the warnings bitmask to aNicholas Clark2006-04-121-0/+15
| | | | | | | directly (shared) malloc()ed buffer holding the warnings bitmask. This avoids bugs/crashes when the interpreter that created an optree is freed but the optree remains in use by other interpreters. p4raw-id: //depot/perl@27779
* By swapping the order of pushes onto the save stack forNicholas Clark2006-04-081-2/+2
| | | | | SAVEt_GENERIC_PVREF, we can merge it with SAVEt_PPTR in Perl_ss_dup(). p4raw-id: //depot/perl@27740
* Move all the regexp state variables into a single structure.Nicholas Clark2006-04-061-37/+1
| | | | | | This allows it to be saved, restored and cloned with a single Copy() (but inevitably still some fixup) p4raw-id: //depot/perl@27732
* Save the regexp engine state as 1 block on the save stack.Nicholas Clark2006-04-051-0/+53
| | | p4raw-id: //depot/perl@27728
* Perl_save_alloc can use the new(er) SSGROW rather than looping.Nicholas Clark2006-04-051-3/+1
| | | p4raw-id: //depot/perl@27726
* Abstract all the accesses to cop_arybase (apart from ByteLoader)Nicholas Clark2006-04-021-0/+5
| | | p4raw-id: //depot/perl@27671
* Automatically set HINT_LOCALIZE_HH whenever %^H is modified.Nicholas Clark2006-04-011-1/+21
| | | p4raw-id: //depot/perl@27666
* Serialise changes to %^H onto the current COP. Return the compile timeNicholas Clark2006-03-311-0/+2
| | | | | | state of %^H as an eleventh value from caller. This allows users to write pragmas. p4raw-id: //depot/perl@27643
* Fix bug #38815 (localising keys which are UTF-8 encoded didn't deleteNicholas Clark2006-03-301-1/+1
| | | | | them correctly on scope exit) p4raw-id: //depot/perl@27637
* re-[PATCH] Re: [PATCH] Poison now in two different flavours!Jarkko Hietaniemi2006-03-291-2/+2
| | | | | Message-ID: <442680D4.3000809@gmail.com> p4raw-id: //depot/perl@27626
* Note the cause of another MAD test failure - an explicit abort trapNicholas Clark2006-03-091-0/+1
| | | | | for saving PL_formfeed is being hit. p4raw-id: //depot/perl@27431
* Further MAD changes.Nicholas Clark2006-03-081-0/+22
| | | p4raw-id: //depot/perl@27428
* Speedups and shrinkages of SvREFCNT_incAndy Lester2006-02-271-8/+8
| | | | | Message-ID: <20060224205434.GA17867@petdance.com> p4raw-id: //depot/perl@27334
* With PERL_DONT_CREATE_GVSV, don't need to create a new GvSV inNicholas Clark2006-02-241-1/+3
| | | | | Perl_save_scalar. p4raw-id: //depot/perl@27322
* Given that SvPV on a typeglob is now irrelevant, really we only needNicholas Clark2006-02-241-12/+1
| | | | | to store the GvGP. p4raw-id: //depot/perl@27321
* Perl_save_aelem can't be constAndy Lester2006-02-241-1/+1
| | | | | Message-ID: <20060224045340.GA6318@petdance.com> p4raw-id: //depot/perl@27301
* unused context warningsAndy Lester2006-02-241-0/+1
| | | | | Message-ID: <20060221062711.GA16160@petdance.com> p4raw-id: //depot/perl@27300
* More NullXXX macro removal from Andy LesterRafael Garcia-Suarez2006-02-201-3/+3
| | | p4raw-id: //depot/perl@27238
* Back out change change 10214 (drop SVp_IOK from >> PRIVSHIFT) as itNicholas Clark2006-02-141-1/+1
| | | | | | | never felt quite correct, and other parts of the SV conversion implementation have improved such that the symptoms 10214 covered over are gone even without it. p4raw-id: //depot/perl@27184
* Move Perl_save_long, Perl_save_I16, Perl_save_I8, Perl_save_iv,Nicholas Clark2006-02-061-130/+56
| | | | | | Perl_save_nogv, Perl_save_list, Perl_save_destructor to mathoms.c Perl_save_svref can't actually move because it calls a static function. p4raw-id: //depot/perl@27106
* Re: [PATCH] s/Null(gv|hv|sv)/NULL/gSteven Schubiger2006-02-031-1/+1
| | | | | | Message-ID: <20060203152449.GI12591@accognoscere.homeunix.org> Date: Fri, 3 Feb 2006 16:24:49 +0100 p4raw-id: //depot/perl@27065
* Eliminate save_threadsv, as it is never linked to, and all it doesNicholas Clark2006-01-311-9/+0
| | | | | post 5005 threads is croak(). p4raw-id: //depot/perl@27021
* Change all NEWSV() to newSV() in the core and non-dual-lived modules.Steve Hay2006-01-181-4/+4
| | | | | | | | Keep NEWSV() itself for backwards-compatibility outside of the core, but don't advertise it any more. (cf. change #25101). p4raw-link: @25101 on //depot/perl: a02a5408b2f199007c4dcb74559cc79066307ada p4raw-id: //depot/perl@26901
* Update copyright years (including some years where we made changes butNicholas Clark2006-01-081-1/+1
| | | | | did not update) p4raw-id: //depot/perl@26732
* sprinkle dVARJarkko Hietaniemi2006-01-061-0/+51
| | | | | Message-ID: <43BE7C4D.1010302@gmail.com> p4raw-id: //depot/perl@26675
* s/Nullav/NULL/gNicholas Clark2005-12-161-1/+1
| | | p4raw-id: //depot/perl@26380
* Cleaning up some warnings generated by "gcc -W"Steve Peters2005-11-191-0/+2
| | | p4raw-id: //depot/perl@26175
* Remove the two register keywords from auto variables that PERL_POSIONNicholas Clark2005-11-141-1/+1
| | | | | wants to take the address of. p4raw-id: //depot/perl@26134
* Consting and localizing: Part LXVIIIAndy Lester2005-11-071-3/+3
| | | | | Message-ID: <20051104211256.GA12651@petdance.com> p4raw-id: //depot/perl@26028
* Re: janitorial work ? [patch]Jim Cromie2005-07-081-3/+3
| | | | | | | | Message-ID: <42CC3CE9.5050606@divsol.com> (reverted all dual-lived modules since they must work with older perls too so must wait for a new Devel::PPPort) p4raw-id: //depot/perl@25101
* more taint fallout from change 24943Dave Mitchell2005-07-071-0/+2
| | | p4raw-id: //depot/perl@25094
* Pre-YAPC consting funAndy Lester2005-06-231-1/+1
| | | | | Message-ID: <20050623190423.GA13835@petdance.com> p4raw-id: //depot/perl@24965
* Add a define PERL_POISON which tries to trip up anything accessingNicholas Clark2005-06-231-1/+1
| | | | | | freed or uninitialised memory. Currently only Poison()s freed pointers. p4raw-id: //depot/perl@24959
* handle magic in local correctlyDave Mitchell2005-06-221-68/+9
| | | | | | | the local SV now gets a copy of any container magic, and no value magic; in the past the whole magic chain was either shared or moved p4raw-id: //depot/perl@24942
* More random cleanupsAndy Lester2005-06-201-8/+6
| | | | | Message-ID: <20050617145029.GC11769@petdance.com> p4raw-id: //depot/perl@24906
* Work around bug 36211, plus a lot of TODO regression tests for local/Nicholas Clark2005-06-101-0/+3
| | | | | $#... interaction. p4raw-id: //depot/perl@24791
* Unvoid SvUPGRADEAndy Lester2005-06-071-1/+1
| | | | | Message-ID: <20050607040850.GA7033@petdance.com> p4raw-id: //depot/perl@24717
* SvPVX_const() - part 3 ... and const'ing StorableSteve Peters2005-06-021-4/+4
| | | | | Message-Id: <20050531145543.GA8051@mccoy.peters.homeunix.org> p4raw-id: //depot/perl@24670
* [PATCH] More embed.fnc strictures, plus consting and localizingAndy Lester2005-05-301-1/+1
| | | | | | | | | | | Date: Tue, 24 May 2005 11:47:22 -0500 Message-ID: <20050524164722.GC12027@petdance.com> Subject: [PATCH] Remove unused casts From: Andy Lester <andy@petdance.com> Date: Tue, 24 May 2005 11:42:18 -0500 Message-ID: <20050524164218.GB12027@petdance.com> p4raw-id: //depot/perl@24625
* Attribute configurationAndy Lester2005-05-201-5/+1
| | | | | Message-ID: <20050519173256.GA29039@petdance.com> p4raw-id: //depot/perl@24508