[fpc-devel] Proposal to change GetNextInstructionUsingReg
Sven Barth
pascaldragon at googlemail.com
Mon Dec 23 11:10:43 CET 2019
J. Gareth Moreton <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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20191223/edef5145/attachment.html>
More information about the fpc-devel
mailing list