summaryrefslogtreecommitdiff
path: root/pp.c
Commit message (Collapse)AuthorAgeFilesLines
* Change all NEWSV() to newSV() in the core and non-dual-lived modules.Steve Hay2006-01-181-5/+5
| | | | | | | | 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
* sprinkle dVARJarkko Hietaniemi2006-01-061-89/+102
| | | | | Message-ID: <43BE7C4D.1010302@gmail.com> p4raw-id: //depot/perl@26675
* Introduce the macros newSVpvs(str) and sv_catpvs(sv, str).Gisle Aas2006-01-041-1/+1
| | | | | Gets rid of many hardcoded string lengths. p4raw-id: //depot/perl@26641
* Update copyrights for files modified in 2006Rafael Garcia-Suarez2006-01-021-1/+1
| | | p4raw-id: //depot/perl@26562
* Making 0 pointers to NULLsAndy Lester2006-01-011-2/+2
| | | | | Message-ID: <20051231050558.GA29093@petdance.com> p4raw-id: //depot/perl@26558
* A GVs stash can be NULL, so don't call macros that assume otherwiseNicholas Clark2005-12-291-1/+2
| | | | | without checking. p4raw-id: //depot/perl@26518
* pre-likely cleanupAndy Lester2005-12-271-2/+1
| | | | | | | Message-ID: <20051227203939.GC1781@petdance.com> Includes a small fix to the changes in tryAMAGICbinW_var() in pp.h. p4raw-id: //depot/perl@26505
* Ho! Ho! Ho! Santa brings consting!Andy Lester2005-12-221-20/+22
| | | | | Message-ID: <20051222165717.GA2874@petdance.com> p4raw-id: //depot/perl@26450
* Add an optimisation to allow proxy constant subroutines to be copiedNicholas Clark2005-12-221-3/+15
| | | | | | | as proxy constant subroutines in a new symbol table where possible. (Rather than converting them to full blown constant subroutines and instantiating 2 typeglobs) p4raw-id: //depot/perl@26446
* The lref argument of sv_2cv is actually passed onwards to gv_fetchsv,Nicholas Clark2005-12-211-3/+4
| | | | | so it is a bitmap of flag bits rather than simple TRUE/FALSE. p4raw-id: //depot/perl@26434
* gv_fetchpv, gv_fetchpvn and gv_fetchsv take a bitmask of flags, ratherNicholas Clark2005-12-201-6/+6
| | | | | than a simple boolean, so passing FALSE or TRUE is bogus. p4raw-id: //depot/perl@26415
* s/Nullav/NULL/gNicholas Clark2005-12-161-1/+1
| | | p4raw-id: //depot/perl@26380
* Fix for [perl #37886] strict 'refs' doesn't apply inside definedRafael Garcia-Suarez2005-12-151-4/+7
| | | p4raw-id: //depot/perl@26374
* More consting, and putting stuff in embed.fncAndy Lester2005-12-061-29/+23
| | | | | Message-ID: <20051205194613.GB7791@petdance.com> p4raw-id: //depot/perl@26281
* Remove redundant SvUTF8_on() callsGisle Aas2005-11-301-2/+0
| | | | | Message-ID: <lrhd9uhwo9.fsf@caliper.activestate.com> p4raw-id: //depot/perl@26231
* Merge pp_slt, pp_sgt and pp_sge into pp_sle. (The most commonly usedNicholas Clark2005-11-071-38/+24
| | | | | of the 4. Not that any are that popular.) p4raw-id: //depot/perl@26039
* The rarely used lcfirst and ucfirst share almost all their code.Nicholas Clark2005-11-071-62/+13
| | | | | Merge the two as pp_ucfirst. p4raw-id: //depot/perl@26035
* Fix bug #37628 (both lcfirst and ucfirst)Nicholas Clark2005-11-071-9/+6
| | | p4raw-id: //depot/perl@26034
* Allow passing of the full enum name into the tryAMAGICbin family ofNicholas Clark2005-11-051-4/+4
| | | | | | macros, to avoid needing C pre-processor string concatenation within the lowest level expansion. p4raw-id: //depot/perl@26015
* Re: A surprising segfaultSADAHIRO Tomoyuki2005-11-051-2/+2
| | | | | Message-Id: <20051105135053.27D7.BQW10602@nifty.com> p4raw-id: //depot/perl@26011
* I barely knew ya pp_dor. Merged into pp_defined from whence you came.Steve Peters2005-11-041-30/+0
| | | | | | This change has also caused pp_defined to be promoted to being a hot op. p4raw-id: //depot/perl@26004
* All the ops that are simply C<return some_other_op();> can be bypassedNicholas Clark2005-10-311-15/+0
| | | | | in the op dispatch table, and the bodies retired. p4raw-id: //depot/perl@25940
* Replace the 3 currently "unreachable" ops with a single op bodyNicholas Clark2005-10-311-0/+7
| | | | | unimplemented_op() that panics descriptively if ever reached. p4raw-id: //depot/perl@25937
* Functions that die aren't exactly well used code.Nicholas Clark2005-10-301-10/+0
| | | | | (ck_retarget, oopsCV, pp_padany, pp_threadsv, pp_mapstart) p4raw-id: //depot/perl@25901
* Re: [PATCH] minor speed-up for pp_push()Tassilo von Parseval2005-10-261-4/+5
| | | | | Message-id: <20051025061141.GA2256@ethan> p4raw-id: //depot/perl@25854
* gcc complains when it sees variables declaredSteve Peters2005-10-141-2/+2
| | | | | | | | | const register ... switched them all to register const ... p4raw-id: //depot/perl@25757
* Use SvGETMAGIC more oftenRick Delaney2005-08-231-16/+12
| | | | | Message-ID: <20050822170033.GH7674@localhost.localdomain> p4raw-id: //depot/perl@25322
* Re: [PATCH] Re: [perl #36819] perlbug AutoReply: Bleadperl: abs() busted ↵Dominic Dunlop2005-08-061-2/+2
| | | | | | | outside integer range Message-Id: <EF62D3CF-8B54-4C7B-973E-C259F487AE32@mac.com> p4raw-id: //depot/perl@25270
* Re: [PATCH] Faster **Piotr Fusik2005-07-191-56/+52
| | | | | | From: "Piotr Fusik" <pfusik@op.pl> Message-Id: <00b201c578af$7ad02b40$17d24dd5@piec> p4raw-id: //depot/perl@25177
* make the expensive ckWARN() be called as late as possibleDave Mitchell2005-07-131-2/+2
| | | | | | | | reorganise if (ckWARN(FOO) && should_not_happen_condition) to if (should_not_happen_condition && ckWARN(FOO)) p4raw-id: //depot/perl@25129
* Re: janitorial work ? [patch]Jim Cromie2005-07-081-7/+7
| | | | | | | | 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
* All tests pass (for me) with -DPERL_DONT_CREATE_GVSVNicholas Clark2005-06-291-1/+1
| | | p4raw-id: //depot/perl@25012
* Const Boy II: The LocalizingAndy Lester2005-06-231-243/+206
| | | | | Message-ID: <20050622144059.GA19598@petdance.com> p4raw-id: //depot/perl@24945
* Silence some bcc32 compiler warningsSteve Hay2005-06-221-1/+1
| | | | | ("Superfluous & with function") p4raw-id: //depot/perl@24937
* Removing /*SUPPRESS xxx*/Andy Lester2005-06-161-4/+4
| | | | | Message-ID: <20050616141342.GA22188@petdance.com> p4raw-id: //depot/perl@24871
* More SvPV consting, including some code cleanup and living dangerouslyNicholas Clark2005-06-101-14/+14
| | | | | with socket API calls. p4raw-id: //depot/perl@24799
* Allow a null length pointer to sv_pvn_force_flags.Nicholas Clark2005-06-081-2/+1
| | | | | Add SvPV_force_nolen and use it to remove some C<n_a>s p4raw-id: //depot/perl@24759
* One more SvPV_constNicholas Clark2005-06-081-1/+1
| | | p4raw-id: //depot/perl@24752
* More SvPV constingNicholas Clark2005-06-071-19/+19
| | | p4raw-id: //depot/perl@24744
* More SvPV constingNicholas Clark2005-06-071-17/+19
| | | p4raw-id: //depot/perl@24743
* More SvPV consting.Nicholas Clark2005-06-071-2/+1
| | | p4raw-id: //depot/perl@24740
* make pp_split constNicholas Clark2005-06-071-5/+6
| | | p4raw-id: //depot/perl@24727
* Lots of constingNicholas Clark2005-06-071-9/+9
| | | p4raw-id: //depot/perl@24726
* Re: [perl #36130] chr(-1) should probably return undefJarkko Hietaniemi2005-06-071-1/+14
| | | | | Message-ID: <42A487C3.8010306@gmail.com> p4raw-id: //depot/perl@24720
* Unvoid SvUPGRADEAndy Lester2005-06-071-4/+4
| | | | | Message-ID: <20050607040850.GA7033@petdance.com> p4raw-id: //depot/perl@24717
* Use newSVhek where we're generating SVs from package namesNicholas Clark2005-06-031-3/+2
| | | p4raw-id: //depot/perl@24697
* Goodbye xav_arylen. You won't be missed that much.Nicholas Clark2005-05-291-6/+6
| | | | | So now there's a buy 5 get one free offer on PVAV bodies. p4raw-id: //depot/perl@24619
* Store the package name as a shared HEK.Nicholas Clark2005-05-261-1/+2
| | | | | | | | Abolish HvNAME() - as the stored pointer is not a char* you can't set it directly now. Storing a pointer to a HEK tracks the length too, and seems to be faster. p4raw-id: //depot/perl@24584
* Updated lint infrastructureAndy Lester2005-05-261-2/+0
| | | | | Message-ID: <20050525173139.GB1701@petdance.com> p4raw-id: //depot/perl@24580
* Move hv_name, hv_eiter and hv_riter into a new aux structure.Nicholas Clark2005-05-211-1/+1
| | | | | | Provide (more efficient) _get and _set macros. Adjust the core to use them. p4raw-id: //depot/perl@24526