summaryrefslogtreecommitdiff
path: root/embed.h
Commit message (Collapse)AuthorAgeFilesLines
* Bug fix for storing shared objects in shared structuresJerry D. Hedden2007-11-081-0/+2
| | | | | | | | From: "Jerry D. Hedden" <jdhedden@cpan.org> Message-ID: <1ff86f510711061136t52a1fe62waf384c4551612181@mail.gmail.com> (core patch only) p4raw-id: //depot/perl@32241
* Fix overloading for 64-bit ints (revised)Jerry D. Hedden2007-10-191-0/+6
| | | | | | From: "Jerry D. Hedden" <jdhedden@cpan.org> Message-ID: <1ff86f510710181149s1c096dd9qffa8fe42046e675b@mail.gmail.com> p4raw-id: //depot/perl@32141
* Inline and eliminate S_incl_perldb(), as it's only called on one place.Nicholas Clark2007-10-181-2/+0
| | | | | This also makes the logic in the call site simpler and more efficient. p4raw-id: //depot/perl@32138
* Pass in explicit lengths for the key and type arguments toNicholas Clark2007-10-161-2/+2
| | | | | | S_new_constant() in toke.c, as we know all the lengths already. Brought to you by the Campaign for the Elimination of strlen(). p4raw-id: //depot/perl@32111
* If PERL_DISABLE_PMC is defined, doopen_pm() is just a direct call toNicholas Clark2007-10-091-0/+12
| | | | | | check_type_and_open(). So for this case make it a macro, to save a level of function call. p4raw-id: //depot/perl@32088
* Remove the strlen in doopen_pm() by passing in the length. (As we knowNicholas Clark2007-10-091-1/+1
| | | | | | it already in the caller). Remove the unchanging mode parameter from doopen_pm() and check_type_and_open(), as it's always PERL_SCRIPT_MODE. p4raw-id: //depot/perl@32086
* Re: [perl #46217] (resent) Typeglobs vs. SUPER:: (Hook::LexWrap failure)Brandon Black2007-10-081-0/+2
| | | | | | From: "Brandon Black" <blblack@gmail.com> Message-ID: <84621a60710072036l60c29016tba8a32b8021b5b24@mail.gmail.com> p4raw-id: //depot/perl@32065
* PL_cshname is actually a constant value known at compile time.Nicholas Clark2007-10-051-2/+0
| | | | | | | PL_cshlen can be calculated by the compiler. So eliminate both as interpreter variables, and the code that calculates PL_cshlen at runtime. p4raw-id: //depot/perl@32035
* With the demise of PERL_FLEXIBLE_EXCEPTIONS, S_docatch_body() can beNicholas Clark2007-10-051-2/+0
| | | | | inlined and eliminated. p4raw-id: //depot/perl@32033
* S_dopoptosub() is just a wrapper for S_dopoptosub_at(), so make it aNicholas Clark2007-10-041-2/+0
| | | | | macro. (Also slightly shrinks the object code for x86 with -Os) p4raw-id: //depot/perl@32024
* [perl #45513] Test failures on amd64-freebsd 6.2 Slaven Rezic2007-10-031-0/+2
| | | | | | From: "slaven@rezic.de via RT" <perlbug-followup@perl.org> Message-ID: <rt-3.6.HEAD-5916-1191069483-1553.45513-15-0@perl.org> p4raw-id: //depot/perl@32012
* fifth attempt to silence S_emulate_eaccess compiler warningDave Mitchell2007-09-241-2/+0
| | | p4raw-id: //depot/perl@31947
* Add a new function Perl_hv_common_key_len(), which contains theNicholas Clark2007-09-201-10/+2
| | | | | | | | manipulations to convert negative lengths to positive length + UTF-8 flag. hv_delete(), hv_exists(), hv_fetch(), hv_store() and hv_store_flags() all become mathoms. The macros hv_fetchs() and hv_stores() call hv_common() directly. p4raw-id: //depot/perl@31931
* Convert hv_delete_ent(), hv_exists_ent(), hv_fetch_ent() andNicholas Clark2007-09-201-8/+0
| | | | | | hv_store_ent() to macros, and consign the function bodies to history. Er, mathoms.c p4raw-id: //depot/perl@31924
* Make hv_fetch_common() non-static, and change its name to hv_common(),Nicholas Clark2007-09-201-2/+2
| | | | | as it now also performs hv_delete()/hv_delete_ent() p4raw-id: //depot/perl@31919
* Inline and abolish S_hv_magic_uvar_xkey().Nicholas Clark2007-09-191-2/+0
| | | p4raw-id: //depot/perl@31917
* Call the key transformation function for hv_delete().Nicholas Clark2007-09-191-1/+1
| | | | | | | Honour the HV_DISABLE_UVAR_XKEY for hv_delete(). Test this. [Pass in 3 more parameters to S_hv_magic_uvar_xkey()] p4raw-id: //depot/perl@31905
* Remove dead functions:Nicholas Clark2007-09-171-4/+0
| | | | | | | Perl_do_pipe, which is unused since 4.036 Perl_save_hints, which would just croak pp_threadsv, which was only used by 5.005 threads p4raw-id: //depot/perl@31889
* mro_get_linear_isa_dfs and mro_get_linear_isa_c3 can have staticNicholas Clark2007-09-121-4/+12
| | | | | linkage. p4raw-id: //depot/perl@31849
* Remove the 'err' keywordRafael Garcia-Suarez2007-09-071-0/+2
| | | p4raw-id: //depot/perl@31812
* fourth attempt to silence S_emulate_eaccess compiler warningDave Mitchell2007-07-161-8/+0
| | | p4raw-id: //depot/perl@31617
* really really fix S_emulate_eaccess compiler warning (#31536 didn't)Dave Mitchell2007-07-121-2/+2
| | | p4raw-id: //depot/perl@31600
* Make Perl_find_runcv a member of the public APIRafael Garcia-Suarez2007-07-071-2/+2
| | | | | (so Sub::Current works on Windows) p4raw-id: //depot/perl@31548
* Fix commented out function names in proto.hJan Dubois2007-07-071-2/+2
| | | | | | From: "Jan Dubois" <jand@activestate.com> Message-ID: <058b01c7c032$18a6a260$49f3e720$@com> p4raw-id: //depot/perl@31546
* /p vs (?p)Abigail2007-06-301-0/+4
| | | | | | | | | | | | | Date: Fri, 29 Jun 2007 23:38:07 +0200 Message-ID: <20070629213807.GA14454@abigail.nl> Subject: [PATCH pod/perlre.pod] Keeping up with the changes. From: Abigail <abigail@abigail.be> Date: Sat, 30 Jun 2007 01:24:36 +0200 Message-ID: <20070629232436.GA15326@abigail.nl> Plus tweaks, and debug enahancements. p4raw-id: //depot/perl@31506
* Revert change #31489.Rafael Garcia-Suarez2007-06-291-2/+0
| | | | | | | | | | | That change was adding a hook to cope with the case when one was undef'ining *ISA globs, in order to clean up correctly. However, this broke the case where one was assiging an array ref to @ISA, which is likely to be more common. Conclusion: don't undef *ISA. (or more generally don't undef globs that contain magical variables) p4raw-link: @31489 on //depot/perl: 5be5c7a687aa37f2ea9dec7988eb57cad1f1ec24 p4raw-id: //depot/perl@31502
* Re: [perl #43357] *DESTROY = sub {} at runtimeBrandon Black2007-06-281-0/+2
| | | | | | From: "Brandon Black" <blblack@gmail.com> Message-ID: <84621a60706270807r7af65546x8d959b131ffa28e6@mail.gmail.com> p4raw-id: //depot/perl@31489
* fix S_emulate_eaccess compiler warningDave Mitchell2007-06-181-0/+8
| | | p4raw-id: //depot/perl@31418
* Re: [PATCH] Callbacks for named captures (%+ and %-)Ævar Arnfjörð Bjarmason2007-06-061-2/+16
| | | | | | From: "Ævar Arnfjörð Bjarmason" <avarab@gmail.com> Message-ID: <51dd1af80706031324y5618d519p460da27a2e7fe712@mail.gmail.com> p4raw-id: //depot/perl@31341
* delete thrdvar.h and move its contents to intrpvar.hDave Mitchell2007-05-201-1/+1
| | | p4raw-id: //depot/perl@31245
* move PL_rsfp_filters into the parser structDave Mitchell2007-05-121-1/+1
| | | p4raw-id: //depot/perl@31200
* move PL_rsfp into the PL_parser structDave Mitchell2007-05-111-4/+4
| | | | | and simplify its creation and destruction p4raw-id: //depot/perl@31199
* Remove unused parms in S_isa_lookupAndy Lester2007-05-091-1/+1
| | | | | Message-Id: <1CBA316A-EC1D-4E8F-8DEE-35322F390358@petdance.com> p4raw-id: //depot/perl@31185
* Fix breakages caused by #31130:Steve Hay2007-05-031-0/+4
| | | | | | report_uninit was not exported on Win32 and my_reg_numbered_buff_length had wrong prototype p4raw-id: //depot/perl@31132
* FETCH/STORE/LENGTH callbacks for numbered capture variablesÆvar Arnfjörð Bjarmason2007-05-031-4/+16
| | | | | | From: "Ævar Arnfjörð Bjarmason" <avarab@gmail.com> Message-ID: <51dd1af80705011658g1156e14cw4d2b21a8d772ed41@mail.gmail.com> p4raw-id: //depot/perl@31130
* Fix threaded builds (broken by change #31112)Steve Hay2007-05-021-1/+1
| | | | | p4raw-link: @31112 on //depot/perl: 3497a01ff49c0a24f2db9e69c6bb89e36e940ed4 p4raw-id: //depot/perl@31115
* Add Perl_my_dirfd() to util.cSteve Peters2007-05-011-0/+2
| | | p4raw-id: //depot/perl@31112
* Re: [PATCH] Cleanup of the regexp APIÆvar Arnfjörð Bjarmason2007-04-301-2/+2
| | | | | | From: "Ævar Arnfjörð Bjarmason" <avarab@gmail.com> Message-ID: <51dd1af80704261922j3db0615wa86ccc4cb65b2713@mail.gmail.com> p4raw-id: //depot/perl@31106
* Fix mro docs.Brandon Black2007-04-261-20/+36
| | | | | | | Subject: Re: mro callbacks patch From: "Brandon Black" <blblack@gmail.com> Message-ID: <84621a60704231658o4c85783ere3c3e90dd614c30b@mail.gmail.com> p4raw-id: //depot/perl@31086
* eliminate some uses of PL_linestr in perl.cDave Mitchell2007-04-231-2/+2
| | | p4raw-id: //depot/perl@31046
* inline S_init_lexer() and regenDave Mitchell2007-04-231-2/+0
| | | p4raw-id: //depot/perl@31045
* Re: [PATCH (incomplete)] Make regcomp use SV* sv, instead of char* exp, ↵Ævar Arnfjörð Bjarmason2007-04-231-2/+2
| | | | | | | char* xend Message-ID: <51dd1af80704211430m6ad1b4afy49b069faa61e33a9@mail.gmail.com> p4raw-id: //depot/perl@31027
* Re: new C3 MRO patchBrandon Black2007-04-191-0/+20
| | | | | | From: "Brandon Black" <blblack@gmail.com> Message-ID: <84621a60704171114k29b0460el5b08ce5185d55ed5@mail.gmail.com> p4raw-id: //depot/perl@30980
* S_forget_pmop() only needs a flags argument for the ithreads case,Nicholas Clark2007-04-101-2/+14
| | | | | because PmopSTASH_free() is a no-op in an unthreaded perl. p4raw-id: //depot/perl@30891
* Avoid accessing free()d memory when calling reset in one thread, afterNicholas Clark2007-04-061-0/+2
| | | | | deleting pattern match ops in another thread. p4raw-id: //depot/perl@30856
* Remove op_pmnext from PMOPs, and instead store the list for reset asNicholas Clark2007-04-061-0/+2
| | | | | | an array hanging from the mg_ptr of the symbol table magic. (Previously the linked list head was in the mg_obj member) p4raw-id: //depot/perl@30853
* Re: Proposed changes and to regular expression interfaces in coreÆvar Arnfjörð Bjarmason2007-04-061-0/+2
| | | | | | From: "Ævar Arnfjörð Bjarmason" <avarab@gmail.com> Message-ID: <51dd1af80703291552y1073bcb6r954b043eb68a4459@mail.gmail.com> p4raw-id: //depot/perl@30849
* For Perl_Slab_Alloc(), eliminate the unused parameter 'm'.Nicholas Clark2007-04-021-1/+1
| | | p4raw-id: //depot/perl@30832
* Add a new compile option PERL_DEBUG_READONLY_OPS which marks the optreeNicholas Clark2007-04-021-0/+16
| | | | | | as read only (or as much of it as it practical). This makes it trivial to detect buggy code that is modifying the optree at runtime. p4raw-id: //depot/perl@30829
* Eliminate the use of PL_bufend outside of toke.c:Dave Mitchell2007-04-011-1/+1
| | | | | | give Perl_scan_vstring() an explicit 'end' arg rather than using PL_bufend, and replace it with a local var in Perl_find_script() p4raw-id: //depot/perl@30820