Yves Orton [Tue, 1 May 2007 23:46:40 +0000 (01:46 +0200)]
tweak some regexp params to avoid warnings
Message-ID: <9b18b3110705011446h2113221cndf70af928d72505@mail.gmail.com>
p4raw-id: //depot/perl@31118
Rafael Garcia-Suarez [Wed, 2 May 2007 12:42:04 +0000 (12:42 +0000)]
Upgrade to XSLoader 0.08
p4raw-id: //depot/perl@31117
Ævar Arnfjörð Bjarmason [Tue, 1 May 2007 21:06:47 +0000 (21:06 +0000)]
When FETCHSIZE returns <0 perl segfaults
From: "Ævar Arnfjörð Bjarmason" <avarab@gmail.com>
Message-ID: <51dd1af80705011406j7897772bm58e9c770183ef3ed@mail.gmail.com>
p4raw-id: //depot/perl@31116
Steve Hay [Wed, 2 May 2007 11:22:19 +0000 (11:22 +0000)]
Fix threaded builds (broken by change #31112)
p4raw-link: @31112 on //depot/perl:
3497a01ff49c0a24f2db9e69c6bb89e36e940ed4
p4raw-id: //depot/perl@31115
Jerry D. Hedden [Mon, 30 Apr 2007 17:06:28 +0000 (13:06 -0400)]
Remove ext/Thread
From: "Jerry D. Hedden" <jdhedden@cpan.org>
Message-ID: <1ff86f510704301406t6373912ame78fea5c7a148cf4@mail.gmail.com>
p4raw-id: //depot/perl@31114
Steve Peters [Tue, 1 May 2007 18:20:02 +0000 (18:20 +0000)]
Fixing a Perl_my_dirfd() related test failure.
p4raw-id: //depot/perl@31113
Steve Peters [Tue, 1 May 2007 15:32:15 +0000 (15:32 +0000)]
Add Perl_my_dirfd() to util.c
p4raw-id: //depot/perl@31112
Yves Orton [Tue, 1 May 2007 12:35:37 +0000 (14:35 +0200)]
Re: [PATCH] Change meaning of \v, \V, and add \h, \H to match Perl6, add \R to match PCRE and unicode tr18
Message-ID: <9b18b3110705010335w1924941ep3eb925a3ed597604@mail.gmail.com>
p4raw-id: //depot/perl@31111
Rafael Garcia-Suarez [Mon, 30 Apr 2007 15:34:29 +0000 (15:34 +0000)]
Two new manpages, by Abigail
p4raw-id: //depot/perl@31110
Rafael Garcia-Suarez [Mon, 30 Apr 2007 12:21:50 +0000 (12:21 +0000)]
Signedness nit, found by Jarkko
p4raw-id: //depot/perl@31109
Gerard Goossen [Thu, 19 Apr 2007 14:56:13 +0000 (16:56 +0200)]
make mad/PLXML.pm use strict
Message-ID: <
20070419125613.GF19244@ostwald>
p4raw-id: //depot/perl@31108
Brandon Black [Sun, 29 Apr 2007 17:27:03 +0000 (12:27 -0500)]
Re: mro status, etc
From: "Brandon Black" <blblack@gmail.com>
Message-ID: <84621a60704291527y1b39be37l221ef66e4c828f66@mail.gmail.com>
p4raw-id: //depot/perl@31107
Ævar Arnfjörð Bjarmason [Fri, 27 Apr 2007 02:22:25 +0000 (02:22 +0000)]
Re: [PATCH] Cleanup of the regexp API
From: "Ævar Arnfjörð Bjarmason" <avarab@gmail.com>
Message-ID: <51dd1af80704261922j3db0615wa86ccc4cb65b2713@mail.gmail.com>
p4raw-id: //depot/perl@31106
Craig A. Berry [Sat, 28 Apr 2007 16:06:01 +0000 (16:06 +0000)]
VMS-specific tweak to FindBin for when $0 returns a unix-style filespec.
p4raw-id: //depot/perl@31105
Craig A. Berry [Sat, 28 Apr 2007 14:28:00 +0000 (14:28 +0000)]
Don't try to build old Thread extension on VMS when -Duseithreads
has been chosen.
p4raw-id: //depot/perl@31104
Steve Hay [Fri, 27 Apr 2007 17:12:05 +0000 (17:12 +0000)]
Do the same as #31095 for Win32
p4raw-id: //depot/perl@31103
Yves Orton [Fri, 27 Apr 2007 16:09:56 +0000 (18:09 +0200)]
Re: Analysis of problems with mixed encoding case insensitive matches in regex engine.
Message-ID: <9b18b3110704270709y50ef652ci436b3bb29abca275@mail.gmail.com>
p4raw-id: //depot/perl@31102
Rafael Garcia-Suarez [Fri, 27 Apr 2007 13:10:06 +0000 (13:10 +0000)]
Reindent bash functions properly
p4raw-id: //depot/perl@31101
Jan Dubois [Thu, 26 Apr 2007 17:02:01 +0000 (10:02 -0700)]
Cargo-cult fix for an AIX build problem
From: "Jan Dubois" <jand@activestate.com>
Message-ID: <
048b01c7885f$
48862510$
d9926f30$@com>
p4raw-id: //depot/perl@31098
Rafael Garcia-Suarez [Fri, 27 Apr 2007 07:55:34 +0000 (07:55 +0000)]
Fix a signed/unsigned comparison warning
p4raw-id: //depot/perl@31097
H.Merijn Brand [Fri, 27 Apr 2007 06:16:02 +0000 (06:16 +0000)]
More up-to-date info about the metaunits
p4raw-id: //depot/perl@31096
Craig A. Berry [Thu, 26 Apr 2007 18:59:15 +0000 (13:59 -0500)]
special Configure handling for IO/Compress modules no longer needed
From: "Craig A. Berry" <craigberry@mac.com>
Message-Id: <p06240812c256eae2b552@[172.16.52.1]>
p4raw-id: //depot/perl@31095
Nicholas Clark [Thu, 26 Apr 2007 20:43:13 +0000 (20:43 +0000)]
Avoid a SIGBUS caused by passing a U32 pointer to utf8_to_uvchr(),
which expects a STRLEN pointer.
Avoid some signed/unsigned casting warnings by adding casts.
p4raw-id: //depot/perl@31093
Devin Heitmueller [Fri, 20 Apr 2007 18:20:21 +0000 (14:20 -0400)]
strxfrm() returns a size_t, not a ssize_t. See:
Subject: locale.c usage of strxfrm
From: "Devin Heitmueller" <devin.heitmueller@gmail.com>
Message-ID: <412bdbff0704201520i7aac0189n74f0cef5c5213f41@mail.gmail.com>
p4raw-id: //depot/perl@31092
Brandon Black [Thu, 26 Apr 2007 10:52:20 +0000 (05:52 -0500)]
Fix a bug in method caching. Better version (broader) of change #29336.
Subject: Re: mro status, etc
From: "Brandon Black" <blblack@gmail.com>
Message-ID: <84621a60704260852y5a3dd2a5jeb633bb46cc7a8c0@mail.gmail.com>
p4raw-link: @29336 on //depot/perl:
ae6d515f69537dd5e2631b15104c2c90d022fd19
p4raw-id: //depot/perl@31091
Rafael Garcia-Suarez [Thu, 26 Apr 2007 14:27:18 +0000 (14:27 +0000)]
Doc nit, by Peter Scott
p4raw-id: //depot/perl@31090
Steve Hay [Thu, 26 Apr 2007 10:12:33 +0000 (11:12 +0100)]
Re: VMS and Win32 Makefiles in change 31059
Message-ID: <
46306D01.6070607@uk.radan.com>
Date: Thu, 26 Apr 2007 10:12:33 +0100
p4raw-id: //depot/perl@31089
Rafael Garcia-Suarez [Thu, 26 Apr 2007 13:58:34 +0000 (13:58 +0000)]
Remove the Thread typemap
p4raw-id: //depot/perl@31088
Brandon Black [Wed, 25 Apr 2007 18:37:21 +0000 (13:37 -0500)]
mro status, etc
From: "Brandon Black" <blblack@gmail.com>
Message-ID: <84621a60704251637v1f4a3f84y19b39461166e3631@mail.gmail.com>
p4raw-id: //depot/perl@31087
Brandon Black [Mon, 23 Apr 2007 18:58:39 +0000 (13:58 -0500)]
Fix mro docs.
Subject: Re: mro callbacks patch
From: "Brandon Black" <blblack@gmail.com>
Message-ID: <84621a60704231658o4c85783ere3c3e90dd614c30b@mail.gmail.com>
p4raw-id: //depot/perl@31086
Rafael Garcia-Suarez [Thu, 26 Apr 2007 12:53:30 +0000 (12:53 +0000)]
Forgot to submit regcomp.c in change #31081
p4raw-link: @31081 on //depot/perl:
32e6a07c84b153f78f946de50870bc0ee030624f
p4raw-id: //depot/perl@31085
Rafael Garcia-Suarez [Thu, 26 Apr 2007 12:47:57 +0000 (12:47 +0000)]
Do the same thing as change #31082, but for warnings.pm.
p4raw-link: @31082 on //depot/perl:
e3def60f2e5ccd1bf34656c3a5e1691f3bdc48a9
p4raw-id: //depot/perl@31084
Dave Mitchell [Thu, 26 Apr 2007 12:36:45 +0000 (12:36 +0000)]
eliminate "unused var" warning
p4raw-id: //depot/perl@31083
Johan Vromans [Wed, 25 Apr 2007 16:12:58 +0000 (18:12 +0200)]
Re: The Strict trap
Message-ID: <m2lkggilud.fsf@phoenix.squirrel.nl>
p4raw-id: //depot/perl@31082
Yves Orton [Tue, 24 Apr 2007 16:46:05 +0000 (18:46 +0200)]
Re: Analysis of problems with mixed encoding case insensitive matches in regex engine.
Message-ID: <9b18b3110704240746u461e4bdcl208ef7d7f9c5ef64@mail.gmail.com>
p4raw-id: //depot/perl@31081
Alexey Tourbin [Wed, 25 Apr 2007 18:12:22 +0000 (22:12 +0400)]
fixed Fcntl::S_IFMT() breakage introduced by change 30674 (blead 26701)
Message-ID: <
20070425141222.GA24828@solemn.turbinal>
p4raw-id: //depot/perl@31080
Jerry D. Hedden [Mon, 23 Apr 2007 13:21:11 +0000 (09:21 -0400)]
Safely store user locks in threads::shared
From: "Jerry D. Hedden" <jdhedden@cpan.org>
Message-ID: <1ff86f510704231021l6989ee0bkd68ab89e99bf8c6b@mail.gmail.com>
p4raw-id: //depot/perl@31079
Jerry D. Hedden [Mon, 23 Apr 2007 13:25:20 +0000 (09:25 -0400)]
Thread.xs doesn't need magic sig anymore
From: "Jerry D. Hedden" <jdhedden@cpan.org>
Message-ID: <1ff86f510704231025y22d30ecfk1ebc418f2b3a0bf7@mail.gmail.com>
p4raw-id: //depot/perl@31078
Johan Vromans [Wed, 25 Apr 2007 14:37:16 +0000 (16:37 +0200)]
Small perlivp.PL updates
Subject: Re: [Andreas J. Koenig] C3 MRO breaks Params::Util and Graph
Message-ID: <m2r6q8iq9v.fsf@phoenix.squirrel.nl>
p4raw-id: //depot/perl@31077
Rafael Garcia-Suarez [Wed, 25 Apr 2007 15:19:21 +0000 (15:19 +0000)]
overload must not load XS modules at compile time, or perl
doesn't compile.
overload must not clobber $! or $@ behind the scenes when
loading an XS module.
p4raw-id: //depot/perl@31076
Rafael Garcia-Suarez [Wed, 25 Apr 2007 15:03:21 +0000 (15:03 +0000)]
Remove a now redundant require
p4raw-id: //depot/perl@31075
Rafael Garcia-Suarez [Wed, 25 Apr 2007 14:53:57 +0000 (14:53 +0000)]
Move the require at the top of the file.
Else, Test::More has test failures.
p4raw-id: //depot/perl@31074
Brandon Black [Tue, 24 Apr 2007 07:58:44 +0000 (02:58 -0500)]
Re: [Andreas J. Koenig] C3 MRO breaks Params::Util and Graph
From: "Brandon Black" <blblack@gmail.com>
Message-ID: <84621a60704240558q7ff65863l803c6f9b9b8ca4a6@mail.gmail.com>
p4raw-id: //depot/perl@31073
Steve Peters [Wed, 25 Apr 2007 11:00:34 +0000 (11:00 +0000)]
Upgrade to CPAN-1.9101
p4raw-id: //depot/perl@31072
Nicholas Clark [Wed, 25 Apr 2007 09:54:17 +0000 (09:54 +0000)]
Avoid the need for 2 casts added in 31055 by using a better type for
the local variable. Add an assertion that another cast is not a data
loss (and that there is no buffer overflow)
p4raw-id: //depot/perl@31069
Nicholas Clark [Wed, 25 Apr 2007 09:32:50 +0000 (09:32 +0000)]
Remove vestigical include of <ctype.h>, which came from a previous
version that tried to make the initialiser out of a single "" string.
(Which turned out to be over 509 characters long)
p4raw-id: //depot/perl@31068
Alexandr Ciornii [Tue, 24 Apr 2007 00:45:05 +0000 (03:45 +0300)]
perlre.pod spellcheck
From: "Alexandr Ciornii" <alexchorny@gmail.com>
Message-ID: <2f1541220704231445w6fa7bfcbl41c9b6f56fb70feb@mail.gmail.com>
p4raw-id: //depot/perl@31067
H.Merijn Brand [Wed, 25 Apr 2007 08:12:16 +0000 (08:12 +0000)]
Leave try.c and include files where they are if we need them later
p4raw-id: //depot/perl@31066
Jerry D. Hedden [Tue, 24 Apr 2007 10:35:43 +0000 (06:35 -0400)]
Move hash action constants to hv.h
From: "Jerry D. Hedden" <jdhedden@cpan.org>
Message-ID: <1ff86f510704240735t50cfc159g59b55726ac5ac64b@mail.gmail.com>
p4raw-id: //depot/perl@31064
Rafael Garcia-Suarez [Wed, 25 Apr 2007 08:08:18 +0000 (08:08 +0000)]
perlguts nit, found by Jerry D. Hedden
p4raw-id: //depot/perl@31063
Craig A. Berry [Wed, 25 Apr 2007 03:10:23 +0000 (03:10 +0000)]
Work a little harder at building generate_uudmap on VMS.
p4raw-id: //depot/perl@31062
Steve Peters [Wed, 25 Apr 2007 01:06:23 +0000 (01:06 +0000)]
Upgrade to Encode-2.20
p4raw-id: //depot/perl@31061
Nicholas Clark [Tue, 24 Apr 2007 23:16:12 +0000 (23:16 +0000)]
Ooops. It helps to p4 add the new file.
p4raw-id: //depot/perl@31060
Nicholas Clark [Tue, 24 Apr 2007 23:10:05 +0000 (23:10 +0000)]
Make PL_uudmap a constant global. Remove the run time initialisation
code, and instead use it to generate a header at perl build time.
By removing uudmap from the interpreter structure we save 256 bytes
per child thread.
p4raw-id: //depot/perl@31059
Dave Mitchell [Tue, 24 Apr 2007 16:42:12 +0000 (16:42 +0000)]
move PL_linestr from the interpreter struct to the parser struct
p4raw-id: //depot/perl@31058
Steve Hay [Tue, 24 Apr 2007 13:31:29 +0000 (13:31 +0000)]
Silence VC6 warning about not all control paths returning a value
p4raw-id: //depot/perl@31057
Steve Hay [Tue, 24 Apr 2007 13:11:50 +0000 (13:11 +0000)]
Fix a function signature missed by #31027 to silence a VC6 warning
p4raw-id: //depot/perl@31056
Steve Hay [Tue, 24 Apr 2007 12:17:00 +0000 (12:17 +0000)]
Silence 5 "possible loss of data" warnings from VC6
p4raw-id: //depot/perl@31055
Devin Heitmueller [Fri, 20 Apr 2007 14:49:08 +0000 (07:49 -0700)]
[perl #42648] [PATCH] crash in win32/VMem.h when out of memory
From: "Devin Heitmueller" (via RT) <perlbug-followup@perl.org>
Message-ID: <rt-3.6.HEAD-30201-
1177105747-239.42648-75-0@perl.org>
p4raw-id: //depot/perl@31054
Rafael Garcia-Suarez [Tue, 24 Apr 2007 11:25:56 +0000 (11:25 +0000)]
Adjust test count.
p4raw-id: //depot/perl@31053
Rafael Garcia-Suarez [Tue, 24 Apr 2007 10:35:15 +0000 (10:35 +0000)]
Fix potential precedence problem
p4raw-id: //depot/perl@31052
Rafael Garcia-Suarez [Tue, 24 Apr 2007 10:34:20 +0000 (10:34 +0000)]
Remove unnecessarily paranoid protection in pp_defined
p4raw-id: //depot/perl@31051
Rafael Garcia-Suarez [Tue, 24 Apr 2007 10:32:33 +0000 (10:32 +0000)]
Fix a bug in dor assignment (@x //= 1 was triggering an
assertion failure)
p4raw-id: //depot/perl@31050
Rafael Garcia-Suarez [Tue, 24 Apr 2007 10:31:28 +0000 (10:31 +0000)]
Remove the code that handles assignment to state variables
p4raw-id: //depot/perl@31049
Abigail [Tue, 24 Apr 2007 00:48:26 +0000 (02:48 +0200)]
Typo fix.
Message-ID: <
20070423224826.GC544@abigail.nl>
p4raw-id: //depot/perl@31048
Craig A. Berry [Tue, 24 Apr 2007 03:18:34 +0000 (03:18 +0000)]
Reduce directory depth for IO::Compress modules.
p4raw-id: //depot/perl@31047
Dave Mitchell [Mon, 23 Apr 2007 23:01:18 +0000 (23:01 +0000)]
eliminate some uses of PL_linestr in perl.c
p4raw-id: //depot/perl@31046
Dave Mitchell [Mon, 23 Apr 2007 22:27:27 +0000 (22:27 +0000)]
inline S_init_lexer() and regen
p4raw-id: //depot/perl@31045
Dave Mitchell [Mon, 23 Apr 2007 22:04:59 +0000 (22:04 +0000)]
make initialisation of PL_sv_no etc unconditional
p4raw-id: //depot/perl@31044
H.Merijn Brand [Mon, 23 Apr 2007 20:55:05 +0000 (20:55 +0000)]
Missed quotes in protocheck for rm_try
p4raw-id: //depot/perl@31043
H.Merijn Brand [Mon, 23 Apr 2007 17:35:53 +0000 (17:35 +0000)]
Major *try* cleanup: introduce $rm_try; Some whitespace cleanups;
Small textual nit from Jarkko
p4raw-id: //depot/perl@31040
Nicholas Clark [Mon, 23 Apr 2007 16:36:31 +0000 (16:36 +0000)]
Remove the unnecessary allocation of and assignment to hunk[3], as the
perl API functions called don't need a NUL terminated string.
p4raw-id: //depot/perl@31038
Rafael Garcia-Suarez [Mon, 23 Apr 2007 15:31:48 +0000 (15:31 +0000)]
Switch to hex format for integer constants in regcharclass.h
(Yves Orton). Also, avoid trailing spaces.
p4raw-id: //depot/perl@31037
Rafael Garcia-Suarez [Mon, 23 Apr 2007 15:07:52 +0000 (15:07 +0000)]
Upgrade to Term::ANSIColor 1.12.
p4raw-id: //depot/perl@31036
Nicholas Clark [Mon, 23 Apr 2007 14:40:05 +0000 (14:40 +0000)]
More variable reordering saves another 40 bytes from the interpreter
structure. (on LP64). Zero cost space saving! Woohoo!
p4raw-id: //depot/perl@31034
Jerry D. Hedden [Mon, 23 Apr 2007 09:10:01 +0000 (05:10 -0400)]
Un-mathom Perl_save_I16
From: "Jerry D. Hedden" <jdhedden@cpan.org>
Message-ID: <1ff86f510704230610t13c62378s381eaceae3e7e9b1@mail.gmail.com>
p4raw-id: //depot/perl@31033
Rafael Garcia-Suarez [Mon, 23 Apr 2007 13:10:56 +0000 (13:10 +0000)]
A safer version of CopFILE, by Jarkko
p4raw-id: //depot/perl@31032
Rafael Garcia-Suarez [Mon, 23 Apr 2007 12:30:12 +0000 (12:30 +0000)]
Change boilerplate of regcharclass.h
p4raw-id: //depot/perl@31031
Rafael Garcia-Suarez [Mon, 23 Apr 2007 12:25:10 +0000 (12:25 +0000)]
Add Yves Orton's script to regenerate regcharclass.h
p4raw-id: //depot/perl@31030
Rafael Garcia-Suarez [Mon, 23 Apr 2007 10:02:13 +0000 (10:02 +0000)]
Remove generated test files from CPANPLUS
p4raw-id: //depot/perl@31029
Rafael Garcia-Suarez [Mon, 23 Apr 2007 09:53:41 +0000 (09:53 +0000)]
Patch to config to avoid failures in the perl core due
to too much verbosity (by Jos Boumans)
p4raw-id: //depot/perl@31028
Ævar Arnfjörð Bjarmason [Sat, 21 Apr 2007 21:30:47 +0000 (21:30 +0000)]
Re: [PATCH (incomplete)] Make regcomp use SV* sv, instead of char* exp, char* xend
Message-ID: <51dd1af80704211430m6ad1b4afy49b069faa61e33a9@mail.gmail.com>
p4raw-id: //depot/perl@31027
Yves Orton [Sun, 22 Apr 2007 23:34:55 +0000 (01:34 +0200)]
Change meaning of \v, \V, and add \h, \H to match Perl6, add \R to match PCRE and unicode tr18
Message-ID: <9b18b3110704221434g43457742p28cab00289f83639@mail.gmail.com>
p4raw-id: //depot/perl@31026
Rafael Garcia-Suarez [Mon, 23 Apr 2007 08:21:50 +0000 (08:21 +0000)]
An optimisation to the MRO code, by Brandon Black,
plus more comments.
p4raw-id: //depot/perl@31025
Craig A. Berry [Mon, 23 Apr 2007 03:14:53 +0000 (03:14 +0000)]
Shorten long symbols in mro.c to avoid name mangling on VMS.
p4raw-id: //depot/perl@31024
Nicholas Clark [Sun, 22 Apr 2007 22:57:54 +0000 (22:57 +0000)]
Fix problems caused by downsizing in change 31017. (Which don't show
up until you test on a "real" architecture)
p4raw-id: //depot/perl@31023
Rafael Garcia-Suarez [Sun, 22 Apr 2007 15:08:45 +0000 (15:08 +0000)]
Reflect change of path for Module::Pluggable's tests in Maintainers.pl
p4raw-id: //depot/perl@31022
Rafael Garcia-Suarez [Sun, 22 Apr 2007 15:03:27 +0000 (15:03 +0000)]
Add missing file to MANIFEST
p4raw-id: //depot/perl@31021
Jos I. Boumans [Sun, 22 Apr 2007 10:18:10 +0000 (12:18 +0200)]
Update CPANPLUS to 0.79_01
From: "Jos I. Boumans" <kane@xs4all.nl>
Message-Id: <
BDAACA85-8D3E-4104-9B03-
9DB247EDA080@xs4all.nl>
p4raw-id: //depot/perl@31020
Craig A. Berry [Sun, 22 Apr 2007 14:34:28 +0000 (14:34 +0000)]
Move Module::Pluggable tests up under main test directory.
p4raw-id: //depot/perl@31019
Craig A. Berry [Sun, 22 Apr 2007 00:50:18 +0000 (00:50 +0000)]
Make t/harness find the t/mro tests
p4raw-id: //depot/perl@31018
Nicholas Clark [Sat, 21 Apr 2007 21:47:34 +0000 (21:47 +0000)]
Various variables in intrpvar.h and thrdvar.h are considerably larger
than they need to be.
p4raw-id: //depot/perl@31017
Nicholas Clark [Sat, 21 Apr 2007 21:46:27 +0000 (21:46 +0000)]
Fix bug in change 31015 - saving the wrong size of variable.
p4raw-id: //depot/perl@31016
Nicholas Clark [Sat, 21 Apr 2007 19:05:08 +0000 (19:05 +0000)]
Several members of struct yy_parser can go on a diet. Some I32s were
actually only holding chars.
p4raw-id: //depot/perl@31015
Nicholas Clark [Sat, 21 Apr 2007 18:41:39 +0000 (18:41 +0000)]
By re-ordering declarations in interpvar.h and thrdvar.h, reduce the
size of the interpreter structure. (For LP64, from 3712 to 3584, for
ILP32, from 2288 to 2248).
p4raw-id: //depot/perl@31014
Nicholas Clark [Sat, 21 Apr 2007 17:01:53 +0000 (17:01 +0000)]
Remove widesyscalls and numeric_compat1, two unused per-interpreter
variables retained for binary compatibility, something which we no
longer maintain back to 5.6.x.
p4raw-id: //depot/perl@31013
Nicholas Clark [Sat, 21 Apr 2007 13:54:28 +0000 (13:54 +0000)]
Eliminate Internals::inc_sub_generation, which nothing now calls.
p4raw-id: //depot/perl@31012
Nicholas Clark [Sat, 21 Apr 2007 11:42:43 +0000 (11:42 +0000)]
Where possible, use SvIV instead of SvIVX, SvNV instead of SvNVX,
SvUV instead of SvUVX, and SvPV* variants instead of SvPVX*.
Document that the non-x variants are preferable whenever the expression
has no side effects. (Compilers perform common subexression
elimination). Likewise SvREFCNT_inc simple variants are valid for all
cases apart from expressions with side effects.
p4raw-id: //depot/perl@31010
Nicholas Clark [Sat, 21 Apr 2007 10:28:59 +0000 (10:28 +0000)]
Storing PL_sv_yes over itself is as cheap as calling hv_exists(), so
always store it, to save the (second) store call. SvIVx is more
expensive than SvIVX, so use the latter. Reorder the other call to
hv_store() to be immediately after the call to hv_exists(), to try to
avoid thrashing the CPU cache.
p4raw-id: //depot/perl@31009
Nicholas Clark [Sat, 21 Apr 2007 09:43:27 +0000 (09:43 +0000)]
In Perl_mro_get_linear_isa_dfs(), by treating the local variable sv as
an array of size 1, we can merge two arms and reduce code duplication.
p4raw-id: //depot/perl@31008