summaryrefslogtreecommitdiff
path: root/ext/Devel/Peek
Commit message (Collapse)AuthorAgeFilesLines
* Curiously none of the macros SvIVX, SvUVX or SvNVX are used onNicholas Clark2006-02-251-2/+0
| | | | | typeglobs. p4raw-id: //depot/perl@27325
* Store GvGP in the SV head union. For all the common lookups [eg GvCV()]Nicholas Clark2006-02-251-1/+0
| | | | | | | | this avoids 1 pointer dereference and the associated risk of a CPU cache miss. Although this patch looks deceptively small, I fear its CBV(*) might be rather high. (* Crack By Volume) p4raw-id: //depot/perl@27323
* Remove set magic from typeglobs. Remove typeglob magic entirely.Nicholas Clark2006-02-231-5/+1
| | | | | | Typeglobs now never access the SvPVX, SvIVX or SvNVX when holding a valid GvGP(). p4raw-id: //depot/perl@27289
* Remove get magic from typeglobs. This means that PVGVs holdingNicholas Clark2006-02-231-1/+1
| | | | | | | | | | | typeglobs never need to use SvPVX. This comes at price - typeglobs were using magic get for their stringificiation, and to pass SvOK(), so need to make typeglobs SvOK by default (by sucking SVp_SCREAM into SVf_OK - it's the only flag left), tweak SvSCREAM() to also check SVp_POK, and teach sv_2[inpu]v how to convert globs. However, it should free up SvPVX for the next part of the plan to pointer indirections, and therefore CPU cache pressure. p4raw-id: //depot/perl@27278
* sv_dump should report the PV for PVGVs, as it can get set.Nicholas Clark2006-02-221-0/+1
| | | | | (Typeglobs stringify via a call to GET magic, which uses the PV slot.) p4raw-id: //depot/perl@27269
* Goodbye PERL_XSUB_OLDSTYLE.Nicholas Clark2006-02-211-1/+1
| | | p4raw-id: //depot/perl@27260
* PVCVs don't need XNVs either.Nicholas Clark2006-02-201-3/+6
| | | | | | (And actually remove xcv_depth) (And fix the copy lengths in bodies_by_type) p4raw-id: //depot/perl@27249
* PVFMs don't need CvDEPTH, and PVCVs don't use SvIVX, so movingNicholas Clark2006-02-201-3/+0
| | | | | | | | | xcv_depth into the IV union saves 4(ish) bytes per CV and format. "ish" because it was a long, but has been changed to I32 (along with the corresponding field in struct block_sub) so as not to enlarge the IV union on platforms where sizeof(long) > sizeof(IV), or struct block_sub where sizeof(long) > sizeof(I32) p4raw-id: //depot/perl@27247
* xcv_root and xcv_xsub can also be merged into a union, providing a newNicholas Clark2006-02-201-8/+10
| | | | | flag is added to denote whether the PVCV is perl or XSUB. p4raw-id: //depot/perl@27244
* xcv_start and xcv_xsubany can be merged into a union, as they are neverNicholas Clark2006-02-201-2/+10
| | | | | both needed. p4raw-id: //depot/perl@27243
* Add a new CvISXSUB() macro, for abstracting the test as to whether aNicholas Clark2006-02-201-1/+1
| | | | | PVCV is perl or XS. p4raw-id: //depot/perl@27241
* Re-order CV flags to bring the 4 CVf_BUILTIN_ATTRS into adjacent bits,Nicholas Clark2006-02-201-2/+2
| | | | | | and make other flag bits that are paired in the code adjacent. Will produce tighter code on ARM; might help on other platforms too. p4raw-id: //depot/perl@27234
* Make FAKE,READONLY optional on VMS in test 21Craig A. Berry2006-01-101-1/+1
| | | p4raw-id: //depot/perl@26759
* Make sv_dump (and therefore Devel::Peek) report the value of theNicholas Clark2005-12-191-1/+39
| | | | | constant in inlineable constant subroutines. p4raw-id: //depot/perl@26404
* [patch@25339] ext/Dev/Peek/t/peek.t fix for VMSJohn E. Malmberg2005-08-311-2/+4
| | | | | | From: "John E. Malmberg" <wb8tyw@qsl.net> Message-ID: <43151346.4010001@qsl.net> p4raw-id: //depot/perl@25340
* If gp_flags is unused, why are we even allocating it?Nicholas Clark2005-06-301-1/+0
| | | p4raw-id: //depot/perl@25019
* make some more functions staticAlexey Tourbin2005-06-071-10/+14
| | | | | | | | | | | | | | | Subject: [PATCH] B/C/C.xs: static my_runops() Message-ID: <20050604232451.GT5867@solemn.turbinal.org> Subject: [PATCH] Devel/Peek/Peek.xs: make plain C functions static Message-ID: <20050604232952.GU5867@solemn.turbinal.org> Subject: [PATCH] File/Glob/Glob.xs: errfunc() should be static Message-ID: <20050604233414.GV5867@solemn.turbinal.org> all being : Date: Sun, 5 Jun 2005 p4raw-id: //depot/perl@24734
* Consting IO and Devel::PeekAndy Lester2005-06-031-6/+6
| | | | | | Reply-To: Perl 5 Porters <perl5-porters@perl.org> Message-ID: <20050531212621.GA12117@petdance.com> p4raw-id: //depot/perl@24702
* Round up all string length requests to malloc()/realloc() to the nextNicholas Clark2005-06-011-1/+1
| | | | | | | multiple of 4/8 bytes [sizeof(size_t)] on the assumption that malloc() internally will quantise, and so we're going to use space that otherwise would be wasted. Hopefully this will save realloc()ing. p4raw-id: //depot/perl@24665
* Add a union in place of xnv_nv, which allows AVs and HVs to re-useNicholas Clark2005-05-211-10/+0
| | | | | | | the memory to store pointers and integers. (Part 1 - will be reworked to be more efficient when IV or void* is 64 bit soon) p4raw-id: //depot/perl@24538
* Refactoring to Sv*_set() macros - patch #5Steve Peters2005-04-192-2/+2
| | | | | | Message-ID: <20050419000925.GA21640@mccoy.peters.homeunix.org> Date: Mon, 18 Apr 2005 19:09:25 -0500 p4raw-id: //depot/perl@24248
* Fix Peek.t to work with and without DEBUG_LEAKING_SCALARSRafael Garcia-Suarez2005-03-291-1/+1
| | | p4raw-id: //depot/perl@24091
* expand -DDEBUG_LEAKING_SCALARS to instrument the creation of each SVDave Mitchell2005-03-281-0/+2
| | | p4raw-id: //depot/perl@24088
* Re: Devel::Peek: hash quality 125%?Tels2004-10-232-20/+36
| | | | | Message-Id: <200410231656.40995@bloodgate.com> p4raw-id: //depot/perl@23419
* Alpha version numbers noticed by Schwern.Jarkko Hietaniemi2003-08-131-2/+1
| | | | | | (These hacks are no more needed since the PAUSE indexer no more indexes the insides of Perl distributions, says Andreas.) p4raw-id: //depot/perl@20687
* Slightly better failure output.Jarkko Hietaniemi2003-07-281-1/+2
| | | p4raw-id: //depot/perl@20272
* No more ext/*/*.t, move them all to ext/*/t.Jarkko Hietaniemi2003-07-281-0/+0
| | | p4raw-id: //depot/perl@20269
* jumbo closure fixDave Mitchell2003-05-291-1/+1
| | | | | Message-ID: <20030226144947.A14444@fdgroup.com> p4raw-id: //depot/perl@19637
* Re: [perl #20683] [fix] Better PatchAdrian M. Enache2003-02-261-1/+1
| | | | | Message-ID: <20030223181639.GA18713@ratsnest.hole> p4raw-id: //depot/perl@18782
* Chip noticed that the intended optionality of the 'IV' wasJarkko Hietaniemi2003-02-231-2/+2
| | | | | | forgotten in the change #18758. p4raw-link: @18758 on //depot/perl: f0fabfd7a60ca1c99e9f3f4c4b66d46eab58e4d5 p4raw-id: //depot/perl@18761
* add some IV stuff to ext/Devel/Peek/Peek.t test 21Peter Prymmer2003-02-201-2/+4
| | | | | Message-ID: <OF2DC297F4.A63F24F9-ON85256CD3.006513E4@factset.com> p4raw-id: //depot/perl@18758
* VMS test adjustmentsCraig A. Berry2003-01-061-2/+8
| | | | | | From: "Craig A. Berry" <craigberry@mac.com> Message-ID: <3E171928.1040100@mac.com> p4raw-id: //depot/perl@18451
* remove flag SvPADBUSYDave Mitchell2003-01-031-5/+5
| | | | | Message-ID: <20021219185543.C9530@fdgroup.com> p4raw-id: //depot/perl@18409
* Proper fix for CvOUTSIDE weak refcountingDave Mitchell2002-12-141-2/+2
| | | | | Message-ID: <20021210012644.A7843@fdgroup.com> p4raw-id: //depot/perl@18302
* SvFAKE lexicals in scope for all of the subDave Mitchell2002-12-021-3/+3
| | | | | Message-ID: <20021125212533.B29157@fdgroup.com> p4raw-id: //depot/perl@18223
* allow evals to see the full lexical scopeDave Mitchell2002-12-021-0/+2
| | | | | Message-ID: <20021124221906.A25386@fdgroup.com> p4raw-id: //depot/perl@18220
* 64bit Peek failure on HP-UX 11.00H.Merijn Brand2002-11-291-2/+2
| | | | | | | | | Subject: Re: Smoke 18188 From: "H.Merijn Brand" <h.m.brand@hccnet.nl> From: Slaven Rezic <slaven.rezic@berlin.de> Date: 28 Nov 2002 19:25:25 +0100 Message-ID: <877kexsga2.fsf@vran.herceg.de> p4raw-id: //depot/perl@18216
* add support for STASH and MAGIC information for REFs to sv_dump().Slaven Rezic2002-11-251-1/+22
| | | | | | Subject: [PATCH] Message-Id: <200211181009.gAIA9pFG034877@vran.herceg.de> p4raw-id: //depot/perl@18177
* Second attempt to fix Devel::Peek test of $ENV{PATH}, after #17956Hugo van der Sanden2002-10-121-1/+5
| | | | | and #18001. p4raw-id: //depot/perl@18003
* Re: Smoke 17977 FAIL(F) MSWin32 5.0 W2000Pro (MSWin32-x86)Yitzchak Scott-Thoennes2002-10-111-2/+2
| | | | | Message-ID: <XEfp9gzkgquV092yn@efn.org> p4raw-id: //depot/perl@18001
* Devel::Peek tests from:Yitzchak Scott-Thoennes2002-10-021-3/+42
| | | | | | Subject: [PATCH] MGf_TAINTEDDIR and MGf_MINMATCH reuse unknown to dump.c Message-ID: <3m+k9gzkgqnP092yn@efn.org> p4raw-id: //depot/perl@17956
* move all pad-related code to its own src fileDave Mitchell2002-10-021-3/+5
| | | | | Message-ID: <20020925234023.A20044@fdgroup.com> p4raw-id: //depot/perl@17953
* Re: [PATCH] Version tangoYitzchak Scott-Thoennes2002-05-271-0/+2
| | | | | Message-ID: <oUp88gzkgy+T092yn@efn.org> p4raw-id: //depot/perl@16822
* fixes for all the warnings reported by Visual C (most of thisGurusamy Sarathy2002-04-211-2/+4
| | | | | | change is from change#12026) p4raw-link: @12026 on //depot/maint-5.6/perl: ff42b73b40f5a895aef4bed81c794f468e0609bc p4raw-id: //depot/perl@16048
* Devel/Peek/Peek.xs: reverse ifdef logicSlaven Rezic2002-04-071-4/+4
| | | | | Message-Id: <200204072059.g37KxlgN091129@vran.herceg.de> p4raw-id: //depot/perl@15790
* EBCDIC branch was forgotten.Jarkko Hietaniemi2002-04-071-1/+1
| | | p4raw-id: //depot/perl@15784
* Re: the dirty half dozen (Re: perl@15662)Nicholas Clark2002-04-061-1/+1
| | | | | | | Message-ID: <20020405232117.GE323@Bagpuss.unfortu.net> (with the last one reversed) p4raw-id: //depot/perl@15757
* If Unicode keys are entered to a hash, a bit is turned on.Jarkko Hietaniemi2002-03-221-4/+4
| | | | | | | | | | If the bit is on, when the keys are fetched from the hash (%h, each %h, keys %h), the Unicodified versions of the keys are returned if needed. This solution errs on the size of over-Unicodifying, the old solution erred on the side of under-Unicodifying. As long as the hash keys can be a mix of byte and Unicode strings, a perfect fit is hard to come by. p4raw-id: //depot/perl@15407
* Debugging OPsIlya Zakharevich2002-03-031-0/+27
| | | | | | Message-Id: <20020302054958.A5511@math.ohio-state.edu> p4raw-link: @14577 on //depot/perl: 0ad5258ff3f3328f321188cbb4fcd6a74b365431 p4raw-id: //depot/perl@14956
* Detypo.Jarkko Hietaniemi2002-01-271-1/+1
| | | p4raw-id: //depot/perl@14447