summaryrefslogtreecommitdiff
path: root/pp_hot.c
Commit message (Collapse)AuthorAgeFilesLines
* make uninitialized value warnings report opcodeGurusamy Sarathy1999-12-041-2/+2
| | | p4raw-id: //depot/perl@4641
* minor USE_ITHREADS tweaksGurusamy Sarathy1999-12-011-4/+4
| | | p4raw-id: //depot/perl@4603
* more complete pseudo-fork() support for WindowsGurusamy Sarathy1999-12-011-21/+20
| | | p4raw-id: //depot/perl@4602
* Integrate with Sarathy.Jarkko Hietaniemi1999-11-111-5/+8
|\ | | | | p4raw-id: //depot/cfgperl@4549
| * avoid stash pointers in optree under USE_ITHREADSGurusamy Sarathy1999-11-111-1/+1
| | | | | | p4raw-id: //depot/perl@4546
| * more cleanups for change#4539Gurusamy Sarathy1999-11-101-0/+3
| | | | | | | | | | p4raw-link: @4539 on //depot/perl: 350de78d9c02710bb008e9ca922c78ba251ec366 p4raw-id: //depot/perl@4544
| * preliminary support for GVOP indirection via padGurusamy Sarathy1999-11-081-4/+4
| | | | | | p4raw-id: //depot/perl@4539
* | Integrate with Sarathy.Jarkko Hietaniemi1999-11-041-3/+1
|\ \ | |/ | | p4raw-id: //depot/cfgperl@4513
| * make nested ARGV/$^I loops work correctly; fixes several bugsGurusamy Sarathy1999-10-311-3/+1
| | | | | | | | | | | | | | in the way ARGV state was handled in readline(); writing a subroutine to do inplace edits is now possible, provided *ARGV, *ARGVOUT, $^I and $_ are localized where needed p4raw-id: //depot/perl@4502
* | Incremental Mac integration from Matthias.Jarkko Hietaniemi1999-11-041-3/+1
| | | | | | p4raw-id: //depot/cfgperl@4512
* | Initial integration of the MacPerl changes form Matthias.Jarkko Hietaniemi1999-11-021-0/+9
|/ | | p4raw-id: //depot/cfgperl@4508
* usurp GVOP slot for new PADOP (one small step to making optreeGurusamy Sarathy1999-10-291-3/+3
| | | | | shareable across interpreters) p4raw-id: //depot/perl@4484
* assumption about @_ always being non-REAL doesn't hold whenGurusamy Sarathy1999-10-161-1/+7
| | | | | | debugger is running; DB::sub() can call arbitrary stuff that modifies @_ at will p4raw-id: //depot/perl@4395
* various cleanupsGurusamy Sarathy1999-10-121-3/+3
| | | p4raw-id: //depot/perl@4350
* revert SAVEDESTRUCTOR() to accepting void(*)(void*) for sourceGurusamy Sarathy1999-10-101-3/+3
| | | | | | compatibility; introduce SAVEDESTRUCTOR_X() that accepts void(*)(pTHX_ void*) p4raw-id: //depot/perl@4339
* POPSUB() gave up the refcount to the CV before LEAVE had a chance toGurusamy Sarathy1999-10-091-6/+18
| | | | | | | clear entries in the CV's pad, leading to coredumps when CV had no other references to it; this is a slightly edited version of the patch suggested by Russel O'Connor <roconnor@world.std.com> p4raw-id: //depot/perl@4321
* revert POP{SUB,LOOP}{1,2} logic to the simpler pre-5.003_24Gurusamy Sarathy1999-10-081-14/+10
| | | | | | situation (assumptions about cx invalidation are not valid anymore) p4raw-id: //depot/perl@4320
* integrate cfgperl contents into mainlineGurusamy Sarathy1999-10-061-8/+2
|\ | | | | p4raw-id: //depot/perl@4303
| * Untangle the IV_IS_QUAD jungle by introdudingJarkko Hietaniemi1999-10-021-8/+2
| | | | | | | | | | | | macros to be used when doing formatted printing: IVdf, UVuf, UVxf, UVof. Also introduce Uid_t_SIGN. p4raw-id: //depot/cfgperl@4288
* | make die/warn and other diagnostics go to wherever STDERR happensGurusamy Sarathy1999-10-061-9/+9
|/ | | | | | to point at; change places that meant Perl_debug_log rather than PerlIO_stderr() p4raw-id: //depot/perl@4302
* fix buggy popping of subroutine contexts in the lvalueGurusamy Sarathy1999-09-261-12/+25
| | | | | | | | | subroutines implementation (change#4081); correct the plethora of cases where DIE() was more appropriate than croak() p4raw-link: @4081 on //depot/perl: cd06dffe59d60ee6a2fdd7c81f8cef42c7026b36 p4raw-id: //depot/perl@4235
* avoid clearing @_ at all for faster subroutine calls; fix bugsGurusamy Sarathy1999-09-191-5/+1
| | | | | | in passing around references to @_, eg C<sub foo { \@_ }>; add tests for the same p4raw-id: //depot/perl@4195
* Integrate with Sarathy.Jarkko Hietaniemi1999-09-131-1/+14
|\ | | | | p4raw-id: //depot/cfgperl@4140
| * add -DPERL_Y2KWARN build option that will generate additionalGurusamy Sarathy1999-09-131-1/+14
| | | | | | | | | | | | warnings on "19$yy" etc (reworked a patch suggested by Ulrich Pfeifer <upf@de.uu.net>) p4raw-id: //depot/perl@4132
* | Replace change #4100 withRobin Barker1999-09-131-1/+1
|/ | | | | | | | | | To: gsar@activestate.com Cc: perl5-porters@perl.org Subject: Re: [ID 19990907.004] [PATCH perl5.005_61] compiler warnings with -Duse64bits Message-Id: <199909131315.OAA24012@tempest.npl.co.uk> p4raw-link: @4100 on //depot/cfgperl: 427181846486e3aa5034a647dc1922377185f4c0 p4raw-id: //depot/cfgperl@4136
* integrate cfgperl contents into mainlineGurusamy Sarathy1999-09-081-2/+2
|\ | | | | p4raw-id: //depot/perl@4106
| * Fix pointer casts.Robin Barker1999-09-071-2/+2
| | | | | | | | | | | | | | | | To: perl5-porters@perl.org Subject: [ID 19990907.004] [PATCH perl5.005_61] compiler warnings with -Duse64bits Message-Id: <199909071130.MAA11435@tempest.npl.co.uk> p4raw-id: //depot/cfgperl@4100
* | fix memory leak in C<sub f { @_ = 1 } f() while 1>Gurusamy Sarathy1999-09-081-0/+1
|/ | | p4raw-id: //depot/perl@4102
* initial implementation of lvalue subroutines (slightly fixedGurusamy Sarathy1999-09-051-4/+140
| | | | | | 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
* Unapply an experimental patch that accidentally escapedJarkko Hietaniemi1999-08-111-1/+0
| | | | | | | from the lab by piggybacking with the change #3955. p4raw-link: @3955 on //depot/cfgperl: d28f7c377ae191ca53d9157f124642cf323614a0 p4raw-id: //depot/cfgperl@3957
* Patches needed to get _60 building withDan Sugalski1999-08-101-0/+1
| | | | | | | | To: vmsperl@perl.org, perl5-porters@perl.org, sarathy@activestate.com, bailey@newman.upenn.edu threads on VMS Message-ID: <Pine.LNX.4.10.9908101631030.18266-100000@tuatha.sidhe.org> p4raw-id: //depot/cfgperl@3955
* Gratuitous uid and gid casts to I32s and ints removed.Jarkko Hietaniemi1999-08-101-4/+4
| | | | | | There are still problem spots in printfing such ids: width (%d vs %ld) and signedness %d vs %u. p4raw-id: //depot/cfgperl@3945
* Fix some of the {IV_IS_QUAD,UV_IS_QUAD} cases so thatJarkko Hietaniemi1999-08-021-1/+2
| | | | | | emacs code indentation doesn't get wrong ideas-- in other words, introduce a couple of "redundant" if:s. p4raw-id: //depot/cfgperl@3887
* 64-bit work. Now 32-bit platforms get a 100% make testJarkko Hietaniemi1999-08-011-2/+7
| | | | | | | | | | | | | | | with -Duse64bits (using long long). Tested in Solaris 2.6 sparc RH Linux 6.0 x86 (and Digital IX 4.0D, to get a true 64-bit opinion). Now e.g. 'print unpack "q", pack "q", 12345678901' should work on such 32-bit platforms. Still a lot of printf()s behind -D which wrongly assume that %ld/%lx and (long) are a good combination. Introducing a slew of new macros intended to be used in printf() format strings: e. g. PERL_PRId64 is the string to be used when printing an IV, printf("%" PERL_PRId64 "\n", iv). The PRI... naming follows the C9X naming of <inttypes.h> macros. p4raw-id: //depot/cfgperl@3861
* typo in change#3768Gurusamy Sarathy1999-07-261-1/+1
| | | | | p4raw-link: @3768 on //depot/perl: f5d5a27c761624409884a263632e1a922439502b p4raw-id: //depot/perl@3772
* optimize method name lookupChip Salzenberg1999-07-261-18/+51
| | | | | | Message-ID: <19990722134336.Q391@perlsupport.com> Subject: [PATCH] OP_METHOD_NAMED p4raw-id: //depot/perl@3768
* applied suggested patch for tracking line numbers correctly inHugo van der Sanden1999-07-231-0/+6
| | | | | | | | optimized blocks with a single statement; changed setcop to setstate and added code for -Dx dumps Message-Id: <199906231627.RAA24033@crypt.compulink.co.uk> Subject: [PATCH 5.005_57] Line number error in optimised else() p4raw-id: //depot/perl@3728
* more PERL_OBJECT cleanups (changes still untested on Unix!)Gurusamy Sarathy1999-07-081-22/+25
| | | p4raw-id: //depot/perl@3660
* Eliminate CONDOPsStephen McCamant1999-07-071-2/+2
| | | | | Message-ID: <14193.25034.113373.245377@alias-2.pr.mcs.net> p4raw-id: //depot/perl@3637
* better diagnostics on read operations from write-onlyGurusamy Sarathy1999-07-071-13/+28
| | | | | filehandles p4raw-id: //depot/perl@3632
* applied slightly tweaked version of suggested patch forIlya Zakharevich1999-07-061-133/+40
| | | | | | | improved RE API Message-Id: <199906092214.SAA14126@monk.mps.ohio-state.edu> Subject: [PATCH 5.005_57] REx engine rehash p4raw-id: //depot/perl@3606
* cygwin32 updateFifer, Eric1999-07-051-6/+0
| | | | | | Message-Id: <71E287AB0D94D111BBD600600849EC8185EDD9@POST> Subject: [ID 19990602.003] perl5.005_03 (CORE) cygwin32 port p4raw-id: //depot/perl@3582
* 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-57/+57
| | | | | | | | | | | | | | | | | | | | | 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
* initial stub implementation of implicit thread/thisGurusamy Sarathy1999-06-071-9/+10
| | | | | | | | | | | | pointer argument; builds/tests on Solaris, win32 hasn't been fixed up yet; proto.h, global.sym and static function decls are now generated from a common database in proto.pl; some inconsistently named perl_foo() things are now Perl_foo(), compatibility #defines provided; perl_foo() (lowercase 'p') reserved for functions that take an explicit context argument; next step: generate #define foo(a,b) Perl_foo(aTHX_ a,b) p4raw-id: //depot/perl@3522
* remove _() non-ansismGurusamy Sarathy1999-06-021-2/+2
| | | p4raw-id: //depot/perl@3518
* REx engine improvementsIlya Zakharevich1999-05-251-53/+81
| | | | | Message-Id: <199905250642.CAA06208@monk.mps.ohio-state.edu> p4raw-id: //depot/perl@3475
* fix glob() bug that resulted in missing symlinks that don't pointGurusamy Sarathy1999-05-251-1/+1
| | | | | anywhere p4raw-id: //depot/perl@3467
* emit more appropriate diagnostic for failed glob (variantGurusamy Sarathy1999-05-171-3/+8
| | | | | of patch suggested by Graham Barr) p4raw-id: //depot/perl@3432
* avoid creating spurious subroutine stubs on failed subroutineGurusamy Sarathy1999-05-111-13/+19
| | | | | | | call and other places of sv_2cv() misuse; fixes problems with failed subroutine calls "hiding" later attempts to lookup methods in base classes p4raw-id: //depot/perl@3388