Re: [fpc-devel] Refactoring tobjectdef.vmt_def

2020-05-17 Thread Jonas Maebe
On 22/04/2020 09:33, Jonas Maebe wrote: > On 21/04/2020 22:56, Jonas Maebe wrote: >> What happens in that case, is >> >> tclassalias ttypesym contains a reference to toriginalclass' tobjectdef, >> and that tobjectdef's typesym be to toriginalclass' typesym. And in the >> unit symtable holding that

Re: [fpc-devel] Refactoring tobjectdef.vmt_def

2020-04-22 Thread Sven Barth via fpc-devel
Am 21.04.2020 um 10:57 schrieb bla...@blaise.ru: I have questions/suggestions WRT Jonas' SVN r42342: https://github.com/graemeg/freepascal/commit/40d31e34116efffa239b6dc94373fcfccedfa646 Yay, a life sign! :D Regards, Sven ___ fpc-devel maillist -

Re: [fpc-devel] Refactoring tobjectdef.vmt_def

2020-04-22 Thread Jonas Maebe
On 21/04/2020 22:56, Jonas Maebe wrote: > What happens in that case, is > > tclassalias ttypesym contains a reference to toriginalclass' tobjectdef, > and that tobjectdef's typesym be to toriginalclass' typesym. And in the > unit symtable holding that typesym, we will find the vmtdef we need >

Re: [fpc-devel] Refactoring tobjectdef.vmt_def

2020-04-21 Thread Jonas Maebe
On 21/04/2020 10:57, bla...@blaise.ru wrote: > I have questions/suggestions WRT Jonas' SVN r42342: > https://github.com/graemeg/freepascal/commit/40d31e34116efffa239b6dc94373fcfccedfa646 > > > 1) Why was `typesym.owner` used instead of `owner`? Beside efficiency, > this hurts understandability: