[Pas2js] Disable optimization in specific units/blocks

silvioprog silvioprog at gmail.com
Fri Jan 11 14:53:49 CET 2019


On Fri, Jan 11, 2019, 10:14 warleyalex via Pas2js <
pas2js at lists.freepascal.org wrote:

> The pas2js compiler does not know what Pascal identifiers are used by the
> asm-block and might remove them, if no Pascal code is using them. To make
> sure that an identifier is kept, add some dummy code like if MyVar=0 then;
>

Please see my last messages.

best,

--
Silvio Clécio

>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/pas2js/attachments/20190111/4fbde67d/attachment.html>


More information about the Pas2js mailing list