on master help sign in
javascript: move constructor decl up after optimization
commit04204331b238e609aac96e813f9906f77bce366e authorraichoo <raichoo@googlemail.com> dateFri 14 Feb 2014, 15:23 (13 years ago) parent8d55eae
1 file changed+1−1
src/IRTS/CodegenJavaScript.hs+1−1
src/IRTS/CodegenJavaScript.hs+1−1
@@ -523,7 +523,7 @@ inlineJS js = transformJS inlineJS js
523523
524524
525525reduceJS :: [JS] -> [JS]
526−reduceJS js = reduceLoop [] ([], js)
526+reduceJS js = moveJSDeclToTop "__IDRRT__Con" $ reduceLoop [] ([], js)
527527
528528
529529funName :: JS -> String