Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Apply format changes from #2048 (#2059) | Alon Zakai | 2019-04-26 | 1 | -7/+5 |
| | | | Mass change to apply clang-format to everything. We are applying this in a PR by me so the (git) blame is all mine ;) but @aheejin did all the work to get clang-format set up and all the manual work to tidy up some things to make the output nicer in #2048 | ||||
* | Unify imported and non-imported things (#1678) | Alon Zakai | 2018-09-19 | 1 | -2/+3 |
| | | | | | | | | | | | | | | Fixes #1649 This moves us to a single object for functions, which can be imported or nor, and likewise for globals (as a result, GetGlobals do not need to check if the global is imported or not, etc.). All imported things now inherit from Importable, which has the module and base of the import, and if they are set then it is an import. For convenient iteration, there are a few helpers like ModuleUtils::iterDefinedGlobals(wasm, [&](Global* global) { .. use global .. }); as often iteration only cares about imported or defined (non-imported) things. | ||||
* | notation change: AST => IR (#1245) | Alon Zakai | 2017-10-24 | 1 | -1/+1 |
| | | | The IR is indeed a tree, but not an "abstract syntax tree" since there is no language for which it is the syntax (except in the most trivial and meaningless sense). | ||||
* | Add initialization functions for passes to avoid missing pass registration ↵ | Jukka Jylänki | 2016-06-21 | 1 | -1/+3 |
| | | | | due to linker dead code elimination. Fixes #577. | ||||
* | add nm pass, that prints function names and sizes (#562) | Alon Zakai | 2016-06-03 | 1 | -0/+38 |