summaryrefslogtreecommitdiff
path: root/embed.h
Commit message (Collapse)AuthorAgeFilesLines
* av_fake() isn't in the public API, and isn't used anywhere, so it canNicholas Clark2008-11-271-6/+0
| | | | | go. p4raw-id: //depot/perl@34944
* ywarn() is actually only used inside toke.c, so it can be static.Nicholas Clark2008-11-261-2/+10
| | | p4raw-id: //depot/perl@34941
* setenv_getix() is not used anywhere other than util.c (and the "specialNicholas Clark2008-11-261-4/+4
| | | | | | biologist word for stable" Msql-Mysql-modules-1.2219) so make it static. p4raw-id: //depot/perl@34940
* sv_add_arena() is now only called from sv.c, so it can be static.Nicholas Clark2008-11-261-2/+6
| | | p4raw-id: //depot/perl@34938
* Perl_oopsCV() is not part of the public API, not used anywhere, so canNicholas Clark2008-11-261-6/+0
| | | | | go. p4raw-id: //depot/perl@34937
* rxres_free() and rxres_restore() are only used in pp_ctl.c, so can beNicholas Clark2008-11-261-4/+12
| | | | | static. Macros PUSHSUBST() and POPSUBST() are only viable in PERL_CORE. p4raw-id: //depot/perl@34935
* pmtrans() and refkids() can be static in op.c.Nicholas Clark2008-11-261-4/+16
| | | p4raw-id: //depot/perl@34933
* pidgone() is only used in util.c, so it can be static.Nicholas Clark2008-11-261-4/+4
| | | p4raw-id: //depot/perl@34932
* Merge S_is_gv_magical() into Perl_is_gv_magical_sv().Nicholas Clark2008-11-261-10/+0
| | | p4raw-id: //depot/perl@34931
* pad_reset() is only used in pad.c, so can be static.Nicholas Clark2008-11-261-2/+22
| | | | | Protect the prototype of S_vdie() with #if defined (PERL_IN_UTIL_C) p4raw-id: //depot/perl@34929
* Exactly 1 function, in perl.c, calls Perl_magicname(), so inline it.Nicholas Clark2008-11-261-2/+0
| | | p4raw-id: //depot/perl@34927
* is_gv_magical() is only called from within gv.c.Nicholas Clark2008-11-261-2/+10
| | | p4raw-id: //depot/perl@34926
* ingroup() is only used in doio.c.Nicholas Clark2008-11-261-2/+14
| | | | | Wrap gen_constant_list in #if defined(PERL_IN_OP_C) p4raw-id: //depot/perl@34925
* force_list(), fold_constants() and gen_constant_list() can be static.Nicholas Clark2008-11-261-6/+14
| | | p4raw-id: //depot/perl@34924
* vdie() isn't used anywhere aside from util.c, so it can be static.Nicholas Clark2008-11-261-2/+2
| | | p4raw-id: //depot/perl@34923
* Perl_cv_ckproto() is not part of the public API, and not used anywhereNicholas Clark2008-11-261-2/+0
| | | | | in the core. So it can go. p4raw-id: //depot/perl@34922
* listkids() can be static in op.cNicholas Clark2008-11-261-2/+2
| | | p4raw-id: //depot/perl@34920
* Following on from change 34918, scalarkids() and scalarseq() can alsoNicholas Clark2008-11-261-4/+24
| | | | | be static in op.c, so make it so. p4raw-id: //depot/perl@34919
* "If it's not private, it's public somehow." states Rafael. The mostNicholas Clark2008-11-261-2/+2
| | | | | | reliable way I can see to keep our (unsupported) privates private is to make them static whenever we can. p4raw-id: //depot/perl@34918
* Replace Perl_my() with a small shell script. er. macro.Nicholas Clark2008-11-261-6/+0
| | | p4raw-id: //depot/perl@34917
* Promote Perl_setdefout() to the public API.Nicholas Clark2008-11-241-4/+0
| | | p4raw-id: //depot/perl@34904
* Re: [perl #60360] [PATCH] UPDATED: local $SIG{FOO} = sub {...}; sets signal ↵Chip Salzenberg2008-11-131-2/+2
| | | | | | | | | | | | handler to SIG_DFL Message-ID: <20081112234504.GI2062@tytlal.topaz.cx> Updated patch to retain source compatibility. Plus using the correct PERL_ARGS_ASSERT_SAVE_HELEM_FLAGS macro and running make regen. p4raw-id: //depot/perl@34829
* Re: [perl #60360] [PATCH] local $SIG{FOO} = sub {...}; sets signalChip Salzenberg2008-11-121-3/+3
| | | | | Message-ID: <20081111000040.GB19329@tytlal.topaz.cx> p4raw-id: //depot/perl@34819
* Update copyright year in embed.pl, and everything that it builds.Nicholas Clark2008-10-251-1/+1
| | | p4raw-id: //depot/perl@34586
* Run 'make regen' for #34567 and #34568.Marcus Holland-Moritz2008-10-241-0/+10
| | | p4raw-id: //depot/perl@34569
* Re: [5.8] Change 33727 (op.c) breaks constant folding in "elsif"Vincent Pit2008-09-131-0/+2
| | | | | Message-ID: <48CAF79A.6000001@profvince.com> p4raw-id: //depot/perl@34358
* S_isa_lookup() no longer recurses (as of Brandon's MRO changes), so weNicholas Clark2008-09-111-1/+1
| | | | | don't need to pass in name_stash as a parameter. p4raw-id: //depot/perl@34349
* Add Perl_croak_xs_usage(), which reduces a lot of explicit calls ofNicholas Clark2008-05-211-0/+2
| | | | | | | the form Perl_croak(aTHX_ "Usage %s::%s(%s)", "ouch" "awk", "eee_yow"); down to croak_xs_usage(cv, "eee_yow"); and refactor all the core XS code to use it. This adds () to the error messages for attributes::* p4raw-id: //depot/perl@33901
* Double magic/warnings with binmode $fh, undefVincent Pit2008-04-301-1/+1
| | | | | | From: "Vincent Pit" <perl@profvince.com> Message-ID: <63615.92.128.97.94.1209490401.squirrel@92.128.97.94> p4raw-id: //depot/perl@33766
* /* This code tries to figure out just what went wrong withNicholas Clark2008-04-171-0/+2
| | | | | | | | | | | gv_fetchmethod. It therefore needs to duplicate a lot of the internals of that function. "Duplicate". <snigger>. You said a naughty word. Now sanitised. [All tests pass, but I'm not 100% confident that this code is equivalent in all reachable corner cases, and it may be possible to simplify the error reporting logic now in gv_fetchmethod_flags] p4raw-id: //depot/perl@33702
* Perl_store_cop_label() isn't meant to be part of the public API.Nicholas Clark2008-04-141-0/+2
| | | | | | (global.sym had been inconsistent with embed.fnc, but it turns out that global.sym was actually correct.) p4raw-id: //depot/perl@33677
* Split out S_refcounted_he_new_common() fromNicholas Clark2008-04-071-2/+10
| | | | | | | | | Perl_refcounted_he_new_common(), so that Perl_store_cop_label() can call it without needing to create two temporary SVs. Use it in newSTATEOP() and eliminate the two temporary SVs. Make Perl_fetch_cop_label() more defensive by not assuming that the value for ":" is always a PV. Remove its "compatibility" macro. p4raw-id: //depot/perl@33657
* Eliminate cop_label from struct cop by storing a label as the firstNicholas Clark2008-04-071-0/+2
| | | | | | entry in the hints hash. Most statements don't have labels, so this will save memory. Not sure how much. p4raw-id: //depot/perl@33656
* Define sv_insert() as a wrapper to sv_insert_flags(), and moveNicholas Clark2008-04-011-2/+0
| | | | | Perl_sv_insert() to mathoms.c p4raw-id: //depot/perl@33627
* Double magic with substrVincent Pit2008-03-311-0/+2
| | | | | Message-ID: <47F119E8.5010106@profvince.com> p4raw-id: //depot/perl@33618
* Add Perl_malloc_good_size to malloc.c. (A routine that rounds up the Nicholas Clark2008-02-271-0/+2
| | | | | | passed in request to the size that will actually be allocated. It's the same interface as Darwin already provides with malloc_good_size().) p4raw-id: //depot/perl@33389
* Regenerate embed.hRafael Garcia-Suarez2008-02-251-0/+2
| | | p4raw-id: //depot/perl@33365
* Update to embed.h somehow missed from change 33343.Nicholas Clark2008-02-221-2/+2
| | | p4raw-id: //depot/perl@33354
* Missed a file from regen.plNicholas Clark2008-02-221-2/+0
| | | p4raw-id: //depot/perl@33346
* Eliminate ck_lengthconst.Nicholas Clark2008-02-201-2/+0
| | | p4raw-id: //depot/perl@33338
* Perl_ck_retarget() doesn't even exist, so little point in mentioning Nicholas Clark2008-02-111-2/+0
| | | | | it. p4raw-id: //depot/perl@33284
* also report forced tokens when using -DTGerard Goossen2008-01-281-1/+1
| | | | | Message-ID: <20080117173652.GB4969@ostwald> p4raw-id: //depot/perl@33089
* Investigation reveals that the work of restoring the iterator to theNicholas Clark2008-01-261-2/+2
| | | | | | | | | | | | | | | | | pad is shared between POPLOOP, using itersave, and the end of scope restore action requested by Perl_save_padsv(). In fact, the only user of SAVEt_PADSV is pp_enteriter, and it already provides enough information to allow it to perform the sv_2mortal() in POPLOOP. So make it do so. Rather than creating a new routine, use the existing routine because nothing else (at least nothing else known to Google's codesearch) uses it. But rename it just in case something we can't see is being naughty and using our private functions - they will get link errors against 5.12. All this means that itersave is now redundant. So remove it. This makes struct context 48 bytes on ILP32 platforms with 32bit IVs, down from 64 bytes in 5.10. 33% more context stack in the same memory. p4raw-id: //depot/perl@33080
* Change 33072 missed embed.h. I wasn't aware that it was affected byNicholas Clark2008-01-261-2/+0
| | | | | opcode.pl. You live and learn (and should run p4 diff -se ...). p4raw-id: //depot/perl@33079
* Avoid an unused argument in S_sv_2iuv_non_preserve() by usingNicholas Clark2008-01-181-0/+12
| | | | | conditional compilation to only pass it in if it's needed. p4raw-id: //depot/perl@33004
* Eliminate all PERL_UNUSED_ARG()s in S_validate_suid() by changing itsNicholas Clark2008-01-181-2/+22
| | | | | | prototype depending on the compile time options. In turn, this finds things that are unused in its callers. p4raw-id: //depot/perl@33000
* Remove C variables (and a parameter!) now unused since -P bit the dust.Nicholas Clark2008-01-111-1/+1
| | | p4raw-id: //depot/perl@32958
* Re: [perl #49564] Re: MRO and av_clearRick Delaney2008-01-111-0/+2
| | | | | Message-ID: <20080109183655.GB11282@bort.ca> p4raw-id: //depot/perl@32948
* Move the reg_stringify logic to Perl_sv_2pv_flagsÆvar Arnfjörð Bjarmason2008-01-101-2/+0
| | | | | | | | Message-ID: <86zlveaewk.fsf@cpan.org> with two corrections. Plus remove reg_stringify from embed.fnc and regen. p4raw-id: //depot/perl@32934
* BER is all very well, but it turns out that it's better to store theNicholas Clark2008-01-051-2/+0
| | | | | | | | offset as either a byte (if <256), or a 0 byte with a STRLEN before. "better" in that the reading can be inlined, and even then the object code is smaller (function calls have space overhead). So goodbye Perl_sv_read_offset() and hello SvOOK_offset(). p4raw-id: //depot/perl@32838