Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | ctor-eval fixes (#996) | Alon Zakai | 2017-05-05 | 1 | -3/+19 |
| | | | | | | | | * fix wasm-ctor-eval, we need to look for the STACKTOP etc. imports, they may not be named, if this build is not with -g * pack memory after ctor evalling, since we merge it up which is less efficient * do some useful opts after ctor-evalling, to clean things up | ||||
* | ctor evaller (#982) | Alon Zakai | 2017-04-28 | 1 | -0/+409 |
Add wasm-ctor-eval, which evaluates functions at compile time - typically static constructor functions - and applies their effects into memory, saving work at startup. If we encounter something we can't evaluate at compile time in our interpreter, stop there. This is similar to ctor_evaller.py in emscripten (which was for asm.js). |