On Feb 6, 11:17 am, Thatcher <[email protected]> wrote: > We had this problem before but because the entire project was nearly > 63KB in a single closure I felt like it was related to the 64KB limit > for single functions. We recently did a big refactor so the dom, > events, html, parser, timer, xhr, and window are each seperated and > have clearer dependencies on each other. Unfortunately, loading the > parser at any point (which is about 32KB) still causes a silent > failure that goes away with -opt -1. > > I realize I can set the optimization level internally to hide this > requirement from the end user but I'm still a little perplexed why it > wont compile... The parser is an html 5 from the nu.parser project > that is generated, mininfied javascript. > > Any ideas? > > Here is the general project link:http://github.com/thatcher/env-js/ > > Here is the parser (actual > )http://github.com/thatcher/env-js/raw/master/dist/parser.js > > And here is the first test file that will fail without -opt > -1http://github.com/thatcher/env-js/raw/master/test/specs/parser/spec.js > > Is there some additional information I can provide to help you > understand to issue in general? > > Thanks, > Thatcher
I haven't heard anything back on this. I was wondering if I could clarify or could get pointed in a direction for tracking down the issue myself. The file is about 23KB in a single closure and fails silently without -opt -1 but loads and runs fine with -opt -1. What could be causing the silent failure that is otherwise avoided by disabling optimization? I've searched but haven't found much other than posts related to the 64KB known limit for a single function. eg http://ajax.sys-con.com/node/676073 But we are now way under that limit and still experiencing issues running in an optimized mode. Thanks for any clues. Thatcher _______________________________________________ dev-tech-js-engine-rhino mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino
