summaryrefslogtreecommitdiff
path: root/cop.h
Commit message (Collapse)AuthorAgeFilesLines
* Refactoring in av.cAndy Lester2006-05-241-1/+1
| | | | | Message-ID: <20060524051640.GA4713@petdance.com> p4raw-id: //depot/perl@28296
* Abolish cop_io (the simple way) by storing the value in cop_hints_hash.Nicholas Clark2006-05-201-1/+0
| | | | | | Todo - store the in and out values under 2 keys, and avoid the need to create a temporary mortal SV while checking it. p4raw-id: //depot/perl@28258
* Move the hints from op_private into cop_hints. This allows all 32 bitsNicholas Clark2006-05-201-5/+5
| | | | | | to be stored. Make B::Concise display the new hints field, and modify B::Deparse to use it. p4raw-id: //depot/perl@28257
* Rename cop_hints to cop_hints_hashNicholas Clark2006-05-201-5/+5
| | | p4raw-id: //depot/perl@28252
* [perl #32332] Perl segfaults; test case availableDave Mitchell2006-05-201-2/+4
| | | | | sub f { s/$var/f()/e } could free the wrong RE p4raw-id: //depot/perl@28251
* Abolish cop_arybase. Signal a non zero $[ with a hint flag, and storeNicholas Clark2006-05-201-5/+20
| | | | | the value in the hints structure used for %^H. p4raw-id: //depot/perl@28250
* Some more SvREFCNT_inc updatesAndy Lester2006-05-021-2/+2
| | | | | Message-ID: <20060430182414.GA18094@petdance.com> p4raw-id: //depot/perl@28049
* more -ansi -pedantic cleanlinessJarkko Hietaniemi2006-04-291-2/+2
| | | | | Message-ID: <44532024.9070303@gmail.com> p4raw-id: //depot/perl@28010
* Change cop_warnings from an SV holding the warnings bitmask to aNicholas Clark2006-04-121-1/+2
| | | | | | | 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
* Abstract all reads/writes of the hints in COPs with 2 new macros,Nicholas Clark2006-04-021-0/+7
| | | | | CopHINTS_get() and CopHINTS_set(). p4raw-id: //depot/perl@27677
* Abstract all the accesses to cop_arybase (apart from ByteLoader)Nicholas Clark2006-04-021-0/+5
| | | p4raw-id: //depot/perl@27671
* Serialise changes to %^H onto the current COP. Return the compile timeNicholas Clark2006-03-311-0/+13
| | | | | | state of %^H as an eleventh value from caller. This allows users to write pragmas. p4raw-id: //depot/perl@27643
* Random accumulated patchesAndy Lester2006-03-311-1/+1
| | | | | Message-ID: <20060331054228.GA18940@petdance.com> p4raw-id: //depot/perl@27641
* Merge the cut & paste code from Perl_call_sv/Perl_fold_constants withNicholas Clark2006-03-271-0/+2
| | | | | | | the near identical code in pp_entertry into Perl_create_eval_scope. Move the cut & paste code from Perl_call_sv/Perl_fold_constants into Perl_delete_eval_scope. p4raw-id: //depot/perl@27617
* Speedups and shrinkages of SvREFCNT_incAndy Lester2006-02-271-3/+3
| | | | | Message-ID: <20060224205434.GA17867@petdance.com> p4raw-id: //depot/perl@27334
* PVFMs don't need CvDEPTH, and PVCVs don't use SvIVX, so movingNicholas Clark2006-02-201-1/+1
| | | | | | | | | 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
* More NullXXX macro removal from Andy LesterRafael Garcia-Suarez2006-02-201-1/+1
| | | p4raw-id: //depot/perl@27238
* Trying my "remove the pTHXes" patch againAndy Lester2006-02-091-5/+3
| | | | | Message-ID: <20060209154018.GA14610@petdance.com> p4raw-id: //depot/perl@27136
* Re: [PATCH] s/Null(gv|hv|sv)/NULL/gSteven Schubiger2006-02-031-9/+9
| | | | | | Message-ID: <20060203152449.GI12591@accognoscere.homeunix.org> Date: Fri, 3 Feb 2006 16:24:49 +0100 p4raw-id: //depot/perl@27065
* s/Nullcv/NULL/gSteven Schubiger2006-02-031-1/+1
| | | | | | Message-ID: <20060202150241.GF12591@accognoscere.homeunix.org> Date: Thu, 2 Feb 2006 16:02:41 +0100 p4raw-id: //depot/perl@27060
* Re: [PATCH] s/Null(av|ch)/NULL/gSteven Schubiger2006-02-021-5/+5
| | | | | Message-ID: <20060202093849.GD12591@accognoscere.homeunix.org> p4raw-id: //depot/perl@27054
* More copyright updatesRafael Garcia-Suarez2006-01-041-1/+1
| | | p4raw-id: //depot/perl@26652
* Fix release mode builds following change 26598Steve Hay2006-01-031-2/+10
| | | p4raw-id: //depot/perl@26608
* silence some compiler warningsDave Mitchell2006-01-031-0/+3
| | | p4raw-id: //depot/perl@26598
* latest switch/say/~~Robin Houston2005-12-191-1/+21
| | | | | Message-Id: <20051217204431.GB28940@rpc142.cs.man.ac.uk> p4raw-id: //depot/perl@26400
* s/Nullhv/NULL/g;Nicholas Clark2005-12-161-1/+1
| | | | | # Although I see that Robin is proposing to add some :-) p4raw-id: //depot/perl@26381
* s/Nullav/NULL/gNicholas Clark2005-12-161-3/+3
| | | p4raw-id: //depot/perl@26380
* Const & local: Special Victims UnitAndy Lester2005-11-111-3/+3
| | | | | Message-ID: <20051111044700.GA24161@petdance.com> p4raw-id: //depot/perl@26082
* Re: [perl #32383] DProf breaks List::Util::shuffleRobin Houston2005-11-091-4/+7
| | | | | Message-ID: <20051108190234.GA25953@rpc142.cs.man.ac.uk> p4raw-id: //depot/perl@26054
* [perl #24254] Attempt to free unreferenced scalar Chris Heath2005-11-071-3/+8
| | | | | | From: "Chris Heath via RT" <perlbug-followup@perl.org> Message-ID: <rt-3.0.11-24254-123984.4.44134155985068@perl.org> p4raw-id: //depot/perl@26027
* sort/multicall patchRobin Houston2005-11-021-0/+66
| | | | | Message-ID: <20051029203307.GA8869@rpc142.cs.man.ac.uk> p4raw-id: //depot/perl@25953
* Etta James presents: More constingAndy Lester2005-10-311-1/+1
| | | | | Message-ID: <20051031054413.GA10767@petdance.com> p4raw-id: //depot/perl@25915
* Re: $^CHILD_ERROR_NATIVE issues (with attachment)Gisle Aas2005-10-041-1/+1
| | | | | Message-ID: <lrd5ml7i8s.fsf@caliper.activestate.com> p4raw-id: //depot/perl@25688
* CopSTASH_eq againAndy Lester2005-06-151-10/+3
| | | | | Message-ID: <20050615044926.GA29087@petdance.com> p4raw-id: //depot/perl@24847
* Replace all uses of HvNAME with the appropriate HvNAME_get orNicholas Clark2005-05-251-5/+5
| | | | | HvNAME_set p4raw-id: //depot/perl@24573
* Goodbye AvFLAGSNicholas Clark2005-05-201-1/+1
| | | p4raw-id: //depot/perl@24518
* Better fix for #8738 (Core dump in 'leavetry')Dave Mitchell2005-05-021-0/+2
| | | | | | | | | | | | | | | | When in an inner runops loop (eg via a tie or sort), an eval needs a new JMPENV pushing by S_docatch. If an exception is raised, control is returned to S_docatch, and it must determine whether the eval that trapped the exception is an inner eval or an outer one. In the former case, restart the loop, in the latter case, rethrow the exception. This is determined by whether we are still at the same PL_curstackinfo level. This fails in the case of SPLICE(), which pushes a new SETJMP and runops level, but not a new stackinfo level. There may be other code which does similar. The solution is to store the current value of PL_top_env in each pushed CxEVAL, and see if it's still the same as PL_top_env when the exception is handled. p4raw-id: //depot/perl@24363
* move the SETJMP exception-handing definitions from scope.h to cop.hDave Mitchell2005-05-021-0/+120
| | | | | so that a JMPENV* entry can be added to struct block_eval p4raw-id: //depot/perl@24361
* Refactoring to Sv*_set() macros - patch #4Steve Peters2005-04-181-1/+1
| | | | | | | Message-ID: <20050416160502.GA26957@mccoy.peters.homeunix.org> plus fix to Perl_rvpv_dup assigning to an RV with SvPVX p4raw-id: //depot/perl@24239
* remove binary compat from #23156 (remove PL_retstack)Dave Mitchell2004-07-231-1/+0
| | | p4raw-id: //depot/perl@23157
* remove the return stack PL_retstack, and store return ops in the CXDave Mitchell2004-07-231-5/+6
| | | | | structure directly instead p4raw-id: //depot/perl@23156
* Update copyright noticesRafael Garcia-Suarez2004-03-161-1/+1
| | | p4raw-id: //depot/perl@22509
* second attempt to fix [perl #24914] freeing a CV reference that wasDave Mitchell2004-01-201-2/+11
| | | | | | | | currently being executed caused coredumps. The dounwind called by die unwinds all the contexts on the context stack before unwinding the save stack. To stop premature freeing of the CV, hold references to it on both stacks. p4raw-id: //depot/perl@22182
* Put all pre-processor #s on the first column (some compilers are picky)Nicholas Clark2003-10-091-21/+21
| | | | | [perl #24167] `#' comment signs not at the very beginning of a line p4raw-id: //depot/perl@21433
* Macrofy the compile/runtime test.Jarkko Hietaniemi2003-09-211-0/+4
| | | p4raw-id: //depot/perl@21297
* Two debugging patches.Dave Mitchell2003-06-281-1/+3
| | | | | | | | | | | | | | | | The first allows to hold symbolic switches in $^D and more generally fixes assignment to $^D. The second one improves the information given by -Dl. Subject: [PATCH] allow $^D = "flags" Date: Fri, 27 Jun 2003 22:26:24 +0100 Message-ID: <20030627212624.GB12887@fdgroup.com> Subject: [PATCH] make -Dl show more scope info From: Dave Mitchell <davem@fdgroup.com> Date: Fri, 27 Jun 2003 23:00:36 +0100 Message-ID: <20030627220036.GC12887@fdgroup.com> p4raw-id: //depot/perl@19870
* 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
* Update all copyrights to 2003, from JarkkoHugo van der Sanden2003-03-021-1/+1
| | | p4raw-id: //depot/perl@18801
* Detypo.Jarkko Hietaniemi2003-02-031-3/+3
| | | p4raw-id: //depot/perl@18643
* Introduce the PUSHSUB_DB macro, equivalent to PUSHSUB, butDave Mitchell2003-01-271-2/+12
| | | | | | | without the lval context tweak. Used in OP_DBSTATE. Subject: Re: [PATCH] Re: change #9754: 5 x slowdown for perl -d Message-ID: <20030126174242.H16182@fdgroup.com> p4raw-id: //depot/perl@18596