[fpc-devel] Proposal to change GetNextInstructionUsingReg

J. Gareth Moreton gareth at moreton-family.com
Mon Dec 23 11:21:18 CET 2019


Seems fair.  I'll see what I can do.

Gareth aka. Kit

On 23/12/2019 10:10, Sven Barth via fpc-devel wrote:
> J. Gareth Moreton <gareth at moreton-family.com 
> <mailto:gareth at moreton-family.com>> schrieb am So., 22. Dez. 2019, 19:18:
>
>     - Add a 4th parameter named "IgnoreConditionalJumps" with a default
>     value of False (so existing code doesn't break). Setting this to True
>     will allow the method to look past conditional jumps for instructions
>     that use the specified register.
>
>
> A general remark: default parameters are kinda frowned upon inside the 
> compiler. So better fix all call sites, even if it means more work.
>
> Regards,
> Sven
>
>
> _______________________________________________
> fpc-devel maillist  -  fpc-devel at lists.freepascal.org
> https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20191223/b5eb8f0d/attachment.html>


More information about the fpc-devel mailing list