summaryrefslogtreecommitdiff
path: root/cv.h
Commit message (Collapse)AuthorAgeFilesLines
* Goodbye PERL_XSUB_OLDSTYLE.Nicholas Clark2006-02-211-8/+1
| | | p4raw-id: //depot/perl@27260
* PVCVs don't need XNVs either.Nicholas Clark2006-02-201-1/+31
| | | | | | (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-4/+12
| | | | | | | | | 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-5/+11
| | | | | 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-5/+7
| | | | | 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
* Abolish BROKEN_UNION_INIT in B::C, as it works around problems inNicholas Clark2006-02-201-2/+1
| | | | | pre-ANSI C compilers, but pays in code duplication. p4raw-id: //depot/perl@27240
* Re-order CV flags to bring the 4 CVf_BUILTIN_ATTRS into adjacent bits,Nicholas Clark2006-02-201-12/+13
| | | | | | 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
* Sync change 25229 to .h source filesRafael Garcia-Suarez2005-07-281-1/+1
| | | p4raw-id: //depot/perl@25233
* Change the IV to a union.Nicholas Clark2005-05-291-10/+5
| | | | | | | | Revert the NV union back to a plain NV Transpose the positions of IV and NV (NV is now first) Don't allocate the NV for PV,PVIV,PVAV and PVHV (last 2 non-allocations currently disabled by default) p4raw-id: //depot/perl@24617
* Reorder the union to cause Win32 compilers to use void * alignment forNicholas Clark2005-05-241-1/+1
| | | | | it. p4raw-id: //depot/perl@24569
* Re-order IVX slot in SV bodiesNicholas Clark2005-05-221-2/+12
| | | p4raw-id: //depot/perl@24542
* Add a union in place of xnv_nv, which allows AVs and HVs to re-useNicholas Clark2005-05-211-1/+10
| | | | | | | 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
* Move the xpv_pv/xrv_rv member into the SV head, in a union withNicholas Clark2005-05-211-1/+0
| | | | | IV and UV. Avoid allocating a body for IVs and RVs. p4raw-id: //depot/perl@24531
* Update copyright noticesRafael Garcia-Suarez2004-03-161-1/+1
| | | p4raw-id: //depot/perl@22509
* Document CVf_UNIQUE flag betterDave Mitchell2004-01-201-1/+4
| | | p4raw-id: //depot/perl@22185
* Fix up Larry's copyright statements to my best knowledge.Jarkko Hietaniemi2003-04-161-1/+2
| | | | | | | (Lots of Perl 5 source code archaeology was involved.) Larry didn't make strangled noises when I showed him the patch, either :-) p4raw-id: //depot/perl@19242
* Typos fixes by Stas Bekman.Rafael Garcia-Suarez2003-04-081-1/+1
| | | p4raw-id: //depot/perl@19167
* Update all copyrights to 2003, from JarkkoHugo van der Sanden2003-03-021-1/+1
| | | p4raw-id: //depot/perl@18801
* add support for assertions. Updated form of:Salvador FandiƱo2003-02-161-1/+6
| | | | | | Subject: Re: Did the assertion patch/feature submission get overlooked? Message-ID: <3DE8F439.50402@yahoo.com> p4raw-id: //depot/perl@18727
* docpatch for cv.hNicholas Clark2002-12-261-1/+1
| | | | | Message-Id: <20021225210102.GA284@Bagpuss.unfortu.net> p4raw-id: //depot/perl@18354
* Proper fix for CvOUTSIDE weak refcountingDave Mitchell2002-12-141-0/+61
| | | | | Message-ID: <20021210012644.A7843@fdgroup.com> p4raw-id: //depot/perl@18302
* allow evals to see the full lexical scopeDave Mitchell2002-12-021-0/+4
| | | | | Message-ID: <20021124221906.A25386@fdgroup.com> p4raw-id: //depot/perl@18220
* Happy chainsaw stories; The removal of the 5005 threadsH.Merijn Brand2002-10-191-8/+0
| | | | | Still imcomplete. Configure will follow p4raw-id: //depot/perl@18030
* Re: [PATCH] cv.h: Comment updatePaul Johnson2002-10-151-1/+1
| | | | | Message-ID: <20021014180050.GC7333@pjcj.net> p4raw-id: //depot/perl@18018
* move all pad-related code to its own src fileDave Mitchell2002-10-021-59/+1
| | | | | Message-ID: <20020925234023.A20044@fdgroup.com> p4raw-id: //depot/perl@17953
* Re: perl 5.7.3 + XS lvalue subsSpider Boardman2002-03-281-0/+2
| | | | | Message-Id: <200203280152.UAA415562@leggy.zk3.dec.com> p4raw-id: //depot/perl@15565
* Extract something from yesterdays effort - convert my mail on padNick Ing-Simmons2002-02-081-0/+59
| | | | | | data structures (incoporating Sarathy's corrections/clarifications) into POD in cv.h which gets autodoc.pl'ed into pod/perlintern.pod. p4raw-id: //depot/perlio@14595
* Integrate mainlineNick Ing-Simmons2002-01-251-1/+1
| | | | | All but ../lib/Unicode/UCD.t pass. p4raw-id: //depot/perlio@14412
* Missed the =head1 additions.Jarkko Hietaniemi2002-01-031-0/+4
| | | p4raw-id: //depot/perl@14041
* Missing ")" in CvFILEGVPaul Marquess2001-09-221-1/+1
| | | | | Message-Id: <AIEAJICLCBDNAAOLLOKLAEGADAAA.Paul_Marquess@Yahoo.co.uk> p4raw-id: //depot/perl@12128
* remove deprecated PERL_OBJECT cruft, it has long since stoppedGurusamy Sarathy2001-08-311-1/+1
| | | | | working in 5.7.x p4raw-id: //depot/perl@11803
* Changes USE_THREADS to USE_5005THREADS in the entire source.Artur Bergman2001-08-271-4/+4
| | | | | | Thanks to H. Merijn Brand for the patch. Some of the comments and or guards might be removable in perl.h now. p4raw-id: //depot/perl@11758
* Retract #11212.Jarkko Hietaniemi2001-07-081-2/+0
| | | p4raw-id: //depot/perl@11223
* (Retracted by #11223.)Graham Barr2001-07-081-0/+2
| | | | | | Subject: [PATCH] Re: Problem with Safe.pm and Perl 5.004 Message-Id: <3460FFBA.6DA51F46@ti.com> p4raw-id: //depot/perl@11212
* Re: CvFILE corruption under ithreadsRobin Houston2001-06-251-0/+5
| | | | | Message-ID: <20010519161934.A12751@puffinry.freeserve.co.uk> p4raw-id: //depot/perl@10925
* Bump up Larry's copyright.Jarkko Hietaniemi2001-01-011-1/+1
| | | p4raw-id: //depot/perl@8289
* Re: Creating const subs for constants.John Tobey2000-10-211-0/+5
| | | | | Message-Id: <m13mo0N-000FObC@feynman.localnet> p4raw-id: //depot/perl@7389
* set SvUTF8 on vectors only if there are chars > 127; update copyrightGurusamy Sarathy2000-02-061-1/+1
| | | | | years (from Gisle Aas) p4raw-id: //depot/perl@5009
* autogenerate API listing from comments in the source (from BenjaminGurusamy Sarathy2000-01-281-0/+10
| | | | | | | Stuhl <sho_pi@hotmail.com>); fix the markup format to be more flexible for better readability; add missing docs in sv.c; regenerate perltoc p4raw-id: //depot/perl@4915
* another change towards a shareable optree: avoid pointer to filegvGurusamy Sarathy1999-11-111-4/+5
| | | | | | | | | in COP; revert parts of change#4485 and s/xcv_filegv/xcv_file/ (CvFILE() may yet come in handy somewhere); adjust compiler doodads to suit p4raw-link: @4485 on //depot/perl: b195d4879f55e1610299cb9b1b55356940c2a577 p4raw-id: //depot/perl@4545
* more cleanup: avoid unused knowledge of "file GV" notion in CV and GVGurusamy Sarathy1999-10-291-3/+4
| | | p4raw-id: //depot/perl@4485
* initial implementation of lvalue subroutines (slightly fixedGurusamy Sarathy1999-09-051-0/+5
| | | | | | version of patch suggested by Ilya Zakharevich, which in turn is based on the one suggested by Tuomas J. Lukka <lukka@iki.fi>) p4raw-id: //depot/perl@4081
* slightly tweaked version of suggested patchDan Sugalski1999-07-061-1/+1
| | | | | | Message-Id: <3.0.6.32.19990608140938.030f12e0@ous.edu> Subject: [PATCH 5.005_57]Use NV instead of double in the core p4raw-id: //depot/perl@3602
* somewhat untested PERL_OBJECT cleanups (C++isms mostlyGurusamy Sarathy1999-06-271-1/+1
| | | | | | | | | gone from the public API); PERL_OBJECT builds again on windows TODO: namespace-clean the typedefs in iperlsys.h and elsewhere; remove C++ remnants from public headers p4raw-id: //depot/perl@3553
* more complete support for implicit thread/interpreter pointer,Gurusamy Sarathy1999-06-091-1/+1
| | | | | | | | | | | | | | | | | | | | | enabled via -DPERL_IMPLICIT_CONTEXT (all changes are noops without that enabled): - USE_THREADS now enables PERL_IMPLICIT_CONTEXT, so dTHR is a noop; tests pass on Solaris; should be faster now! - MULTIPLICITY has been tested with and without PERL_IMPLICIT_CONTEXT on Solaris - improved function database now merged with embed.pl - everything except the varargs functions have foo(a,b,c) macros to provide compatibility - varargs functions default to compatibility variants that get the context pointer using dTHX - there should be almost no source compatibility issues as a result of all this - dl_foo.xs changes other than dl_dlopen.xs untested - still needs documentation, fixups for win32 etc Next step: migrate most non-mutex variables from perlvars.h to intrpvar.h p4raw-id: //depot/perl@3524
* remove _() non-ansismGurusamy Sarathy1999-06-021-1/+1
| | | p4raw-id: //depot/perl@3518
* scrounge and save three extra branches in pp_entersub()Gurusamy Sarathy1999-04-031-0/+2
| | | p4raw-id: //depot/perl@3214
* update copyright yearsGurusamy Sarathy1999-03-221-1/+1
| | | p4raw-id: //depot/perl@3124
* distinguish eval'' from BEGIN|INIT|END CVs (fixes buggy propagationGurusamy Sarathy1999-02-181-0/+9
| | | | | of lexical searches in BEGIN|INIT|END) p4raw-id: //depot/perl@2975