summaryrefslogtreecommitdiff
path: root/op.c
Commit message (Collapse)AuthorAgeFilesLines
* Extend OP_AELEMFAST optimisation to lexical arraysDave Mitchell2004-02-221-26/+39
| | | p4raw-id: //depot/perl@22357
* Re: op_seq (was: Freeing code)Paul Johnson2004-02-211-21/+18
| | | | | | | | | | Message-ID: <20040221013147.GB6953@pjcj.net> Rework the OP structure to use less space. Remove op_seq (and simulate it in dump.c), replace it by op_opt and op_static, shrink op_type, remove PL_op_seqmax. p4raw-id: //depot/perl@22353
* When you write C<my $_ ; for (...) {...}>, the lexical $_Rafael Garcia-Suarez2004-02-201-1/+0
| | | | | is not actually introduced by the for statement. p4raw-id: //depot/perl@22352
* optimise the sorting inplace of plain arrays: @a = sort @aDave Mitchell2004-02-201-0/+90
| | | p4raw-id: //depot/perl@22349
* Add tests for the C<my $x if foo> deprecation, and change theDave Mitchell2004-02-181-1/+1
| | | | | warning text p4raw-id: //depot/perl@22332
* add deprecation warning for C<my $x if foo> and C<foo && (my $x)>Dave Mitchell2004-02-171-1/+39
| | | p4raw-id: //depot/perl@22328
* [perl #25824] Segmentation fault withDave Mitchell2004-02-151-11/+0
| | | | | sub x { shift; @a = @b; eval +{ use } } p4raw-id: //depot/perl@22306
* Switch from byacc to bison and simplify the perly.* regenerationDave Mitchell2004-02-141-2/+8
| | | | | process p4raw-id: //depot/perl@22302
* Implement stacked filetest operators (-f -w -x $file).Rafael Garcia-Suarez2004-02-091-0/+3
| | | p4raw-id: //depot/perl@22294
* The "my $_" wasn't nice with foreach loops.Rafael Garcia-Suarez2004-02-041-1/+8
| | | p4raw-id: //depot/perl@22268
* Implement "my $_".Rafael Garcia-Suarez2004-02-031-10/+39
| | | p4raw-id: //depot/perl@22263
* Remove small memory leak in newATTRSUB that manifested as aDave Mitchell2004-01-251-0/+2
| | | | | leaking scalar after the interpeter was cloned p4raw-id: //depot/perl@22209
* [perl #25147] C<use strict; print if foo> didn't give theDave Mitchell2004-01-221-5/+3
| | | | | "Bareword not allowed" error unless warnings were enabled p4raw-id: //depot/perl@22194
* Re: open/or inconsistencySADAHIRO Tomoyuki2004-01-171-9/+17
| | | | | | | | Message-Id: <20040117195729.623A.BQW10602@nifty.com> (plus a test.) Don't produce the warning for constructs like open my $fh, $file or die; p4raw-id: //depot/perl@22170
* buigid #24905 - the code planted to call glob() retained anDave Mitchell2004-01-151-0/+1
| | | | | | extraneous targ index in a pushmark op, leasing to strangeness when the op was freed p4raw-id: //depot/perl@22160
* Tidy up change #18751, so that the second parameter to unpack()Rafael Garcia-Suarez2004-01-031-0/+12
| | | | | | | defaults to $_ at compile-time, instead of run-time (like all other primitives that default to $_). p4raw-link: @18751 on //depot/perl: 13dcffc60adeca175c32a1ea11ec8756d4853ad2 p4raw-id: //depot/perl@22047
* re-fix [perl #24508] without speed regression.Adrian M. Enache2003-12-221-1/+19
| | | | | keep an eye on this. p4raw-id: //depot/perl@21951
* yet another 2 leaks. example for the second:Adrian M. Enache2003-12-081-2/+2
| | | | | | | #! perl eval q{ open $p{q}, "foo" } while 1 __END__ p4raw-id: //depot/perl@21867
* Fix bug [perl #24508] Wrong assignment in nested assignmentRafael Garcia-Suarez2003-11-191-17/+0
| | | | | | | | together with subroutine call Apparently concat still doesn't deal correctly with lexicals in all cases. Disable the whole TARGET_MY optimisation for it. (and remove the corresponding code from the peephole optimiser.) p4raw-id: //depot/perl@21752
* Re: Empty subroutine as object method segfaults in 5.8.2 (sometimes)Adrian M. Enache2003-11-131-15/+5
| | | | | Message-ID: <20031111132529.GB1271@ratsnest.hole> p4raw-id: //depot/perl@21718
* Comment that this "optimisation" is actually a necessary fixup.Nicholas Clark2003-10-311-0/+4
| | | | | | When the split occurs (to make the opti{miser,onal}) this isn't (Richard Clamp reminded me that I forgot to do this) p4raw-id: //depot/perl@21586
* Fix for the orange lion bug - aka empty sub bugArtur Bergman2003-10-301-0/+11
| | | | | Message-Id: <A10EEA90-0B24-11D8-93CD-000A95A2734C@nanisky.com> p4raw-id: //depot/perl@21582
* Put all pre-processor #s on the first column (some compilers are picky)Nicholas Clark2003-10-091-3/+3
| | | | | [perl #24167] `#' comment signs not at the very beginning of a line p4raw-id: //depot/perl@21433
* Fix bug #24108: Goto +foo brokenRafael Garcia-Suarez2003-10-081-1/+3
| | | | | the fix having been suggested by xmath via Juerd. p4raw-id: //depot/perl@21425
* Re: [perl #24076] "<> err EXPR" and warnings.Rafael Garcia-Suarez2003-10-061-1/+3
| | | | | | Message-Id: <20031005212754.5ef54472.rgarciasuarez@free.fr> (Applied with tweaks to op.c and a comment.) p4raw-id: //depot/perl@21406
* Re: maint@20974 or before broke mp2 ithreads testMarcus Holland-Moritz2003-09-031-0/+3
| | | | | | | Message-ID: <29644.1062572245@www50.gmx.net> The other half of #20930 should be still good. p4raw-id: //depot/perl@21014
* Retract #20930 because ofStas Bekman2003-09-021-8/+4
| | | | | | Subject: maint@20974 or before broke mp2 ithreads test Message-ID: <3F54392F.7080009@stason.org> p4raw-id: //depot/perl@21000
* Re: ByteLoader and MSWin32Adrian M. Enache2003-09-021-13/+4
| | | | | Message-ID: <20030902004511.GA1442@ratsnest.hole> p4raw-id: //depot/perl@20993
* glob() bugGurusamy Sarathy2003-09-011-1/+1
| | | | | Message-Id: <200309010925.h819Pf0X011457@smtp3.ActiveState.com> p4raw-id: //depot/perl@20980
* Perl_newCONSTSUB() related memory leaksMarcus Holland-Moritz2003-08-291-4/+8
| | | | | | From: "Marcus Holland-Moritz" <mhx-perl@gmx.net> Message-ID: <006301c36d9d$335976a0$e400a8c0@R2D2> p4raw-id: //depot/perl@20930
* add "$lexical not available" warning in C<for my $lex ()>Dave Mitchell2003-08-091-1/+1
| | | | | Message-ID: <20030809135144.GC4997@fdgroup.com> p4raw-id: //depot/perl@20591
* The warning "Possible precedence problem on bitwise operator"Rafael Garcia-Suarez2003-07-201-3/+4
| | | | | | was incorrectly produced with the bitwise-assignment operators. Fix it. (bug #23065 concerning 5.8.1 RC2) p4raw-id: //depot/perl@20171
* [PATCH] Increment cop_seqmax in utilize()Stephen McCamant2003-07-171-0/+1
| | | | | | | | | | | Date: Tue, 15 Jul 2003 09:57:26 -0400 Message-ID: <16148.2118.348073.76671@syllepsis.MIT.EDU> Subject: [PATCH] B::Concise 0.56: refcount and BEGIN improvements From: Stephen McCamant <smcc@mit.edu> Date: Tue, 15 Jul 2003 09:57:31 -0400 Message-ID: <16148.2123.305325.480187@syllepsis.MIT.EDU> p4raw-id: //depot/perl@20166
* The CHECKOP macro was not invoked on some newly created opsRafael Garcia-Suarez2003-07-081-2/+6
| | | | | | | (to match them against the current opmask.) As a consequence, Safe compartments were unable to trap some ops (pattern match, slices, conditionals.) This fixes the holes. p4raw-id: //depot/perl@20079
* Re: [PATCH] $^VARIABLES in 'perl -Dt' outputAdrian M. Enache2003-07-081-1/+4
| | | | | | | Message-ID: <20030708174758.GA1177@ratsnest.hole> (ByteLoader tweak avoiding a leaked scalar) p4raw-id: //depot/perl@20076
* warnings, line numbers & windowsMarcus Holland-Moritz2003-07-081-1/+1
| | | | | Message-ID: <12022.1057655645@www59.gmx.net> p4raw-id: //depot/perl@20068
* Re: Is it a Bug? ($c .= "5") . "6"Adrian M. Enache2003-06-221-2/+3
| | | | | Message-ID: <20030621001931.GB1255@ratsnest.hole> p4raw-id: //depot/perl@19841
* Integrate from maint:Marcus Holland-Moritz2003-06-111-2/+2
| | | | | | | | | | | | | | | [ 19738] Subject: Re: [PATCH: maint @ 19733] CL compiler warnings on MSWin32 From: "Marcus Holland-Moritz" <mhx-perl@gmx.net> Message-ID: <011701c32f8c$62d85ee0$0c2f1fac@R2D2> p4raw-link: @19738 on //depot/perl: 5a1dd2ab5c9ca51eda95e7e0025702bdfcd91d9fon //depot/maint-5.8/perl: c43a4d73e4c3d92928dd743544b60e43ce02ee9c p4raw-id: //depot/perl@19739 p4raw-integrated: from //depot/maint-5.8/perl@19738 'copy in' ext/Encode/encengine.c (@18665..) ext/List/Util/Util.xs (@18791..) ext/Storable/Storable.xs (@19551..) ext/POSIX/POSIX.xs (@19704..) ext/threads/threads.xs (@19722..) 'merge in' ext/Thread/Thread.xs (@18145..) pp.h (@19400..) sv.c (@19653..) perl.c (@19704..) op.c (@19732..)
* Re: nitpick with \(0..2)Steve Grazzini2003-06-091-0/+2
| | | | | Message-ID: <20030606054259.GA30249@grazzini.net> p4raw-id: //depot/perl@19729
* RE: maint @ 19683Robin Barker2003-06-051-7/+7
| | | | | | | Message-ID: <533D273D4014D411AB1D00062938C4D904046564@hotel.npl.co.uk> (skipped the MIME::Base64 part, leaving that to Gisle) p4raw-id: //depot/perl@19694
* Retract #19667, #19660, #19659, #19658, #19657, #19656,Jarkko Hietaniemi2003-06-031-83/+0
| | | | | | #19655, #19418; File::Temp no more used internally. Some parts of these will be salvaged later. p4raw-id: //depot/perl@19670
* don't use File::Temp to implement PerlIO_tmpfile() on windows;Gurusamy Sarathy2003-06-021-6/+12
| | | | | | | | | | reuse the straightforward native implementation instead this fixes the warning from io_xs.t NOTE: File::Temp has a less-than-robust implementation on windows that relies on END blocks being run (this may not happen always) p4raw-id: //depot/perl@19667
* Beautification.Jarkko Hietaniemi2003-06-021-34/+46
| | | p4raw-id: //depot/perl@19660
* Duplicate definition bad.Jarkko Hietaniemi2003-06-021-1/+0
| | | p4raw-id: //depot/perl@19659
* Stick with the original (5.8.0) logic.Jarkko Hietaniemi2003-06-021-11/+11
| | | p4raw-id: //depot/perl@19657
* Since pulling in File::Temp for tempfiles would pull inJarkko Hietaniemi2003-06-021-0/+66
| | | | | | | | | also Fcntl, miniperl could not open up tempfiles. This broke the use of miniperl in VMS, as noticed by Craig Berry. Try to cure this by moving the creation of tempfile into its own routine, my_tmpfp(), which gets compiled differently for miniperl and perl. p4raw-id: //depot/perl@19656
* jumbo closure fixDave Mitchell2003-05-291-13/+43
| | | | | Message-ID: <20030226144947.A14444@fdgroup.com> p4raw-id: //depot/perl@19637
* [PATCH #2] Re: [perl #22181] goto undefines my() variablesDave Mitchell2003-05-241-5/+6
| | | | | | | | | | | Date: Thu, 22 May 2003 10:13:19 +0100 Message-ID: <20030522091319.GA4568@fdgroup.com> Subject: Re: [PATCH #2] Re: [perl #22181] goto undefines my() variables From: Dave Mitchell <davem@fdgroup.com> Date: Fri, 23 May 2003 17:09:44 +0100 Message-ID: <20030523160944.GC9194@fdgroup.com> p4raw-id: //depot/perl@19610
* New warning "Useless localization of %s", based onDave Mitchell2003-05-211-14/+42
| | | | | | | | | | Subject: [PATCH] new warning "Useless localization of %s is deprecated" Message-ID: <20030430201738.GA22054@fdgroup.com> The proposed patch added this warning in the 'deprecated' category ; I think this category is for things that exist and will be removed, rather than for things that don't exist and that will maybe be added. p4raw-id: //depot/perl@19588
* Re: Possible precedence problem on bitwise ^ operatorYitzchak Scott-Thoennes2003-05-191-3/+6
| | | | | | Message-ID: <N+Dy+gzkg+XX092yn@efn.org> (with tweaks to perldiag.pod) p4raw-id: //depot/perl@19570