summaryrefslogtreecommitdiff
path: root/op.c
Commit message (Collapse)AuthorAgeFilesLines
* Symbian port of PerlJarkko Hietaniemi2005-04-211-4/+53
| | | | | Message-ID: <B356D8F434D20B40A8CEDAEC305A1F2453D653@esebe105.NOE.Nokia.com> p4raw-id: //depot/perl@24271
* DEBUG_LEAKING_SCALARS could use the value of a freed PL_opDave Mitchell2005-04-191-0/+4
| | | p4raw-id: //depot/perl@24255
* Refactoring to Sv*_set() macros - patch #5Steve Peters2005-04-191-5/+4
| | | | | | Message-ID: <20050419000925.GA21640@mccoy.peters.homeunix.org> Date: Mon, 18 Apr 2005 19:09:25 -0500 p4raw-id: //depot/perl@24248
* Fix for:bstrand@switchmanagement.com2005-04-141-0/+2
| | | | | | | | | [perl #34934] perl 5.8.5 on x86 and x86-64 hang at compile-time From: bstrand@switchmanagement.com (via RT) <perlbug-followup@perl.org> Message-ID: <rt-3.0.11-34934-110595.15.9181274318682@perl.org> This syntax error now produces a panic message. p4raw-id: //depot/perl@24237
* Don't PERL_HASH(SvUVX(...)...) as it's actually a set.Nicholas Clark2005-04-121-3/+25
| | | | | Plus add an editor block p4raw-id: //depot/perl@24230
* Refactoring to Sv*_set() macros - patch #2Steve Peters2005-04-081-1/+1
| | | | | Message-ID: <20050407185149.GA4418@mccoy.peters.homeunix.org> p4raw-id: //depot/perl@24204
* Down with C++ reserved namesNicholas Clark2005-04-051-3/+3
| | | | | | (and also function pointer declarations that rely on the C semantics of ()) p4raw-id: //depot/perl@24165
* const-eight.diffAndy Lester2005-04-041-70/+67
| | | | | Message-ID: <20050330174024.GA12167@petdance.com> p4raw-id: //depot/perl@24148
* Clean-up some warnings when compiling on Win32 with VC++Steve Hay2005-03-291-5/+5
| | | p4raw-id: //depot/perl@24096
* Downconst external APIsRafael Garcia-Suarez2005-03-291-5/+4
| | | p4raw-id: //depot/perl@24095
* Need to return something when the compiler doesn't know that aNicholas Clark2005-03-261-0/+5
| | | | | function is "noreturn". p4raw-id: //depot/perl@24082
* Consting fiveAndy Lester2005-03-251-1/+1
| | | | | | | | Message-ID: <20050325231409.GB17660@petdance.com> [with modification - the extra argument to incpush was supposed to be being used] p4raw-id: //depot/perl@24081
* Re: [perl #34568] Perl crashes reading past the end of a heap block while ↵Gurusamy Sarathy2005-03-251-2/+1
| | | | | | | parsing foreach statement Message-Id: <200503251831.j2PIV9A6006234@smtp3.ActiveState.com> p4raw-id: //depot/perl@24080
* Consting part 4Andy Lester2005-03-251-6/+9
| | | | | Message-ID: <20050325204331.GA16388@petdance.com> p4raw-id: //depot/perl@24079
* Third consting batchAndy Lester2005-03-241-22/+22
| | | | | Message-Id: <2f14220e7101a03f7659dbe79a03b115@petdance.com> p4raw-id: //depot/perl@24074
* More consting goodnessAndy Lester2005-03-211-5/+5
| | | | | Message-ID: <20050319072830.GA7721@petdance.com> p4raw-id: //depot/perl@24049
* More const parmsAndy Lester2005-03-181-2/+2
| | | | | Message-ID: <20050314195954.GB7141@petdance.com> p4raw-id: //depot/perl@24042
* Adding const qualifiersAndy Lester2005-03-141-1/+1
| | | | | Message-ID: <20050313202005.GA23535@petdance.com> p4raw-id: //depot/perl@24037
* Re: uc($long_utf8_string) exhausts memoryJarkko Hietaniemi2005-01-221-1/+1
| | | | | | | | Message-Id: <41F1801C.3080201@iki.fi> Make buffer size estimates for utf8 case conversion less maximally pessimistic p4raw-id: //depot/perl@23857
* sv_catpvf holds no advantage over sv_catpv when the "pattern" isn't.Nicholas Clark2005-01-141-1/+1
| | | p4raw-id: //depot/perl@23798
* Stage 1 of utf8 support for soft references.Nicholas Clark2005-01-071-29/+24
| | | | | | | | | | Change gv_fetchpv to take a UTF8 flag, as gv_fetchpvn_flags Add gv_fetchsv to look up a GV by SV rather than a char * pointer Provide a backwards compatability gv_fetchpv Migrate from gv_fetchpv to gv_fetchsv where the caller was grabbing the pointer from an SV All tests still pass. p4raw-id: //depot/perl@23766
* Update copyright years.Nicholas Clark2005-01-041-1/+1
| | | p4raw-id: //depot/perl@23746
* strEQ/strNE of 1 character strings seems better hand inlined,Nicholas Clark2005-01-011-7/+11
| | | | | | because it generates smaller object code (as well as being faster than a true function call) p4raw-id: //depot/perl@23725
* gv_fullname4() can get rid of the main:: for us.Nicholas Clark2004-12-031-3/+1
| | | | | (well, actually, it never puts it in) p4raw-id: //depot/perl@23609
* $foo::_ was wrongly forced as $main::_.Rafael Garcia-Suarez2004-12-031-1/+2
| | | | | | | Since we still want "our $_" to be always forced to $main::_, deplace the forcing code at our-pad allocation time. (Making execution probably a tiny bit faster) p4raw-id: //depot/perl@23608
* Fix Win32 breakage caused by changes to op.c in change 23433.Steve Hay2004-11-161-4/+16
| | | | | | Also limit the scope of the locks in a couple of places, as suggested by Hugo in http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2004-11/msg00286.html. p4raw-id: //depot/perl@23499
* Add some descriptive text from Larry to op.c on how optrees are builtDave Mitchell2004-11-121-2/+37
| | | p4raw-id: //depot/perl@23494
* Turn regcomp into a list opDave Mitchell2004-10-101-7/+51
| | | p4raw-id: //depot/perl@23357
* fields.pm lost compile-time benefitRick Delaney2004-09-011-0/+81
| | | | | | | | | Message-Id: <20040813235412.GB12980@biff.bort.ca> restore the compile-time field checking for my Dog $spot; $spot->{'walkies'}; that was lost when pseudo-hashes were removed p4raw-id: //depot/perl@23256
* Add comment to the top of most .c files explaining their purposeDave Mitchell2004-07-311-0/+24
| | | p4raw-id: //depot/perl@23176
* for (reverse @foo) now iterates in reverse in place.Nicholas Clark2004-07-151-1/+10
| | | p4raw-id: //depot/perl@23115
* Optimise for (reverse ...)Nicholas Clark2004-07-151-5/+6
| | | p4raw-id: //depot/perl@23114
* Now optimising for $a (reverse ...)Nicholas Clark2004-07-151-3/+22
| | | p4raw-id: //depot/perl@23113
* "That's the way to do it"Nicholas Clark2004-07-141-5/+5
| | | | | | | | In taking out a bug spotted by my regression tests in t/cmd/for.t I actually managed to disable the entire optimisation. Which means that I didn't find the other bug. This optimisation is live, and passes all tests. p4raw-id: //depot/perl@23109
* Optimise foreach my $i (reverse ...)Nicholas Clark2004-07-141-0/+61
| | | | | foreach without a lexical iterator not yet optimised p4raw-id: //depot/perl@23108
* Optimise list context reverse sort to reverse as part of the sort opNicholas Clark2004-07-131-6/+24
| | | p4raw-id: //depot/perl@23102
* A proper, working, stable optimisation for sort {$b cmp $a}Nicholas Clark2004-07-131-4/+0
| | | p4raw-id: //depot/perl@23096
* The current optimisation for sort {$b cmp $a} is bogus now that weNicholas Clark2004-07-131-6/+11
| | | | | guarantee a stable sort. Disable it, pending a correct optimisation. p4raw-id: //depot/perl@23093
* Fix for: [perl #2738] perl segfautls on inputMarcus Holland-Moritz2004-06-241-1/+9
| | | | | | The parser was incorrectly accepting <> as a subroutine prototype and newATTRSUB didn't validate the proto argument before accessing op_sv. p4raw-id: //depot/perl@22990
* [perl #29790] Optimization busted: '@a = "b", sort @a' drops "b"Dave Mitchell2004-05-221-0/+11
| | | | | | Fix the sort-in-place optimization of change #22349. p4raw-link: @22349 on //depot/perl: fe1bc4cf71e7b04d33e679798964a090d9fa7b46 p4raw-id: //depot/perl@22839
* void context !~ generates "Useless use of not at line..." warningYitzchak Scott-Thoennes2004-05-111-0/+9
| | | | | Message-ID: <20040509075919.GA3752@efn.org> p4raw-id: //depot/perl@22807
* [perl #29340] Bizarre copy of ARRAYDave Mitchell2004-05-041-0/+1
| | | | | | make sure a pad op's flags are updated after optimising away the assignment in my @a = () (see change 22520). p4raw-id: //depot/perl@22781
* Fix for [perl #28919] : sometimes the function ck_ftst was tryingRafael Garcia-Suarez2004-04-191-0/+1
| | | | | to read an op that was just freed, which was obviously illegal. p4raw-id: //depot/perl@22716
* The optree builder was looping when constructing the opsRafael Garcia-Suarez2004-04-071-1/+1
| | | | | | for a map/grep block containing a while(1). (Bug reported by Pixel.) p4raw-id: //depot/perl@22667
* Fix change #22376. Only mark a const as short-circuitedDave Mitchell2004-04-011-2/+4
| | | | | | if it's actually a const! p4raw-link: @22376 on //depot/perl: e7fec78e344a7fdea63b9a2551a3c57cc1a50f4d p4raw-id: //depot/perl@22635
* Fix and tests for [perl #28123] Perl optimizes // away incorrectlyMarcus Holland-Moritz2004-04-011-1/+3
| | | p4raw-id: //depot/perl@22625
* [perl #27040] - hints hash was being double freed on scope exitDave Mitchell2004-03-261-4/+2
| | | p4raw-id: //depot/perl@22594
* Optimize away the assignment in the constructs C<my $s = undef>,Rafael Garcia-Suarez2004-03-171-0/+21
| | | | | C<my @a = ()>, C<my %h = ()>. p4raw-id: //depot/perl@22520
* Update copyright noticesRafael Garcia-Suarez2004-03-161-1/+1
| | | p4raw-id: //depot/perl@22509
* [perl #27628] strict 'subs' didn't warn on bareword array indexDave Mitchell2004-03-141-1/+3
| | | p4raw-id: //depot/perl@22499