[fpc-devel] RTTI method paramlist broken?

Paul Ishenin webpirat at mail.ru
Sat Sep 12 16:35:32 CEST 2009


Jonas Maebe wrote:
> I've checked it with Kylix 3 and there it's indeed also always the 
> same order. Apparently I made a mistake while testing. The FPC logic 
> of storing the parameters in the rtti in the same order as the calling 
> convention uses them dates from before my changes though. I'm not 
> aware of any functionality in FPC or the RTL depending on this order, 
> so it shouldn't be a problem to change it. Then again, I know almost 
> nothing about any functionality using RTTI (other than reference 
> counting), so I'll wait with changing anything to see whether someone 
> else maybe knows a reason why this should not be changed.
Extremely good news. Can you add at least calling convention field when 
you will change it? And the best would be take the full d2010 tkMethod 
declaration since it stores much more info there. Especially interesting 
are PPTypeInfo of result and param types and the calling convention field.

Best regards,
Paul Ishenin.



More information about the fpc-devel mailing list