Browse Source

pastojs: optimization ShortRefGlobals

git-svn-id: trunk@46928 -
(cherry picked from commit cf4ca3a280e4551240e0029fff369149328fe5af)
Mattias Gaertner 4 years ago
parent
commit
6bbbcebd1e
1 changed files with 1 additions and 0 deletions
  1. 1 0
      utils/pas2js/docs/translation.html

+ 1 - 0
utils/pas2js/docs/translation.html

@@ -197,6 +197,7 @@ Put + after a boolean switch option to enable it, - to disable it
       -OoRemoveNotUsedPrivates[-] : Default is enabled
       -OoRemoveNotUsedDeclarations[-] : Default enabled for programs with -Jc
       -OoRemoveNotUsedPublished[-] : Default is disabled
+      -OoShortRefGlobals[-]: Insert JS local var for types and modules. Default enabled in -O2
   -P<x>   : Set target processor. Case insensitive:
     -Pecmascript5  : default
     -Pecmascript6