summaryrefslogtreecommitdiff
path: root/mro.c
Commit message (Collapse)AuthorAgeFilesLines
* Restore a comment from 30501 unintentionally deleted with change 31513.Nicholas Clark2007-07-011-1/+4
| | | p4raw-id: //depot/perl@31514
* Avoid copying the AV in Perl_mro_get_linear_isa_dfs()Nicholas Clark2007-07-011-10/+9
| | | p4raw-id: //depot/perl@31513
* Revert change #31489.Rafael Garcia-Suarez2007-06-291-4/+2
| | | | | | | | | | | 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: valgrind findingsBrandon Black2007-06-291-4/+11
| | | | | | From: "Brandon Black" <blblack@gmail.com> Message-ID: <84621a60706281358o3b379b20k2c1e53566587d79b@mail.gmail.com> p4raw-id: //depot/perl@31501
* Re: [perl #43357] *DESTROY = sub {} at runtimeBrandon Black2007-06-281-2/+4
| | | | | | From: "Brandon Black" <blblack@gmail.com> Message-ID: <84621a60706270807r7af65546x8d959b131ffa28e6@mail.gmail.com> p4raw-id: //depot/perl@31489
* yet another mro.c patchBrandon Black2007-06-131-48/+50
| | | | | | From: "Brandon Black" <blblack@gmail.com> Message-ID: <84621a60706130619g17c9d2fbi111cca567da3d500@mail.gmail.com> p4raw-id: //depot/perl@31370
* Silence compiler warningsJerry D. Hedden2007-06-071-0/+2
| | | | | | From: "Jerry D. Hedden" <jdhedden@cpan.org> Message-ID: <1ff86f510706061145r540c7f02kba96c04bc9dcf8b0@mail.gmail.com> p4raw-id: //depot/perl@31348
* another mro patchBrandon Black2007-06-041-220/+174
| | | | | | From: "Brandon Black" <blblack@gmail.com> Message-ID: <84621a60706032255g6702cd81ube1f582a1e07cf8a@mail.gmail.com> p4raw-id: //depot/perl@31332
* Re: HvMROMETABrandon Black2007-05-301-2/+11
| | | | | | From: "Brandon Black" <blblack@gmail.com> Message-ID: <84621a60705291708m3f106d74r473f3d91c780163d@mail.gmail.com> p4raw-id: //depot/perl@31312
* Various mro updates from Brandon Black. References:Craig A. Berry2007-05-191-30/+66
| | | | | | | | <84621a60705111347q40f9dd9ciefa9468e9ff9ca6c@mail.gmail.com> <84621a60705121458i34ff361fh9166e8558781df41@mail.gmail.com> <84621a60705141111q70ed307r9181dfc2834a8f5c@mail.gmail.com> <84621a60705160937h53946fcfg70635908302724e8@mail.gmail.com> p4raw-id: //depot/perl@31239
* Re: mro c3 infinite recursion problem. Attemp to free unreferenced scalarBrandon Black2007-05-091-9/+12
| | | | | | From: "Brandon Black" <blblack@gmail.com> Message-ID: <84621a60705081315hca3885duc14b8c3e44080853@mail.gmail.com> p4raw-id: //depot/perl@31174
* more constingAndy Lester2007-05-081-73/+66
| | | | | Message-ID: <20070507163416.GA6187@petdance.com> p4raw-id: //depot/perl@31167
* Re: mro status, etcBrandon Black2007-04-301-104/+79
| | | | | | From: "Brandon Black" <blblack@gmail.com> Message-ID: <84621a60704291527y1b39be37l221ef66e4c828f66@mail.gmail.com> p4raw-id: //depot/perl@31107
* mro status, etcBrandon Black2007-04-261-2/+8
| | | | | | From: "Brandon Black" <blblack@gmail.com> Message-ID: <84621a60704251637v1f4a3f84y19b39461166e3631@mail.gmail.com> p4raw-id: //depot/perl@31087
* Fix mro docs.Brandon Black2007-04-261-6/+6
| | | | | | | Subject: Re: mro callbacks patch From: "Brandon Black" <blblack@gmail.com> Message-ID: <84621a60704231658o4c85783ere3c3e90dd614c30b@mail.gmail.com> p4raw-id: //depot/perl@31086
* Silence VC6 warning about not all control paths returning a valueSteve Hay2007-04-241-0/+1
| | | p4raw-id: //depot/perl@31057
* An optimisation to the MRO code, by Brandon Black,Rafael Garcia-Suarez2007-04-231-25/+78
| | | | | plus more comments. p4raw-id: //depot/perl@31025
* Shorten long symbols in mro.c to avoid name mangling on VMS.Craig A. Berry2007-04-231-6/+6
| | | p4raw-id: //depot/perl@31024
* Storing PL_sv_yes over itself is as cheap as calling hv_exists(), soNicholas Clark2007-04-211-6/+9
| | | | | | | | 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
* In Perl_mro_get_linear_isa_dfs(), by treating the local variable sv asNicholas Clark2007-04-211-21/+18
| | | | | an array of size 1, we can merge two arms and reduce code duplication. p4raw-id: //depot/perl@31008
* Small optimisations, by Brandon BlackRafael Garcia-Suarez2007-04-211-2/+2
| | | p4raw-id: //depot/perl@31003
* Code comments, by Brandon BlackRafael Garcia-Suarez2007-04-211-4/+68
| | | p4raw-id: //depot/perl@31002
* Terser source code in Perl_mro_meta_dup()Nicholas Clark2007-04-201-18/+15
| | | p4raw-id: //depot/perl@31000
* Simpler version, and that zeroes the allocated memoryRafael Garcia-Suarez2007-04-191-2/+2
| | | p4raw-id: //depot/perl@30988
* Use Newxc instead of casting by handRafael Garcia-Suarez2007-04-191-7/+5
| | | p4raw-id: //depot/perl@30987
* A Tolkien quote for mro.c, found by Audrey Tang.Rafael Garcia-Suarez2007-04-191-0/+5
| | | p4raw-id: //depot/perl@30986
* Fix compilation error with threadsRafael Garcia-Suarez2007-04-191-3/+4
| | | p4raw-id: //depot/perl@30984
* Put the "Can't locate package..." warnings in the "syntax"Rafael Garcia-Suarez2007-04-191-2/+2
| | | | | category, as documented p4raw-id: //depot/perl@30982
* Change an "Internal error" message to the more common "panic"Rafael Garcia-Suarez2007-04-191-1/+1
| | | | | in the C3 MRO code p4raw-id: //depot/perl@30981
* Re: new C3 MRO patchBrandon Black2007-04-191-0/+1002
From: "Brandon Black" <blblack@gmail.com> Message-ID: <84621a60704171114k29b0460el5b08ce5185d55ed5@mail.gmail.com> p4raw-id: //depot/perl@30980