[Pas2js] Disable optimization in specific units/blocks

Mattias Gaertner nc-gaertnma at netcologne.de
Fri Jan 11 22:31:31 CET 2019


On Fri, 11 Jan 2019 12:48:44 -0700 (MST)
warleyalex via Pas2js <pas2js at lists.freepascal.org> wrote:

> LZ-String demo in pas2js using ASM Block
>[...]
> initialization
> ASM
>  this.LZString = function(){function o(o,r){if(!t[o]){t[o]={};for(var

Are you saying, that the initialization section is removed by
the optimization?
That would be a bug.

Mattias


More information about the Pas2js mailing list