summaryrefslogtreecommitdiff
path: root/src/passes/RemoveUnusedFunctions.cpp
Commit message (Collapse)AuthorAgeFilesLines
* add a RemoveUnusedModuleElements pass, and make LegalizeJSInterface create ↵Alon Zakai2016-12-071-65/+0
| | | | TempRet0 if needed (otherwise we might remove it before we use it)
* Do not use exported memory as a root set of RemoveUnusedFunctions pass (#763)Taiju Tsuiki2016-10-141-1/+3
| | | | | | | | * Do not use exported memory as a root set of RemoveUnusedFunctions pass RemoveUnusedFunctions pass of wasm-opt fails when the memory is exported. That's due to a wrong root set handling on the exported symbols. This CL fixes the failure by ignoring non-function exported symbol.
* offset support in tableAlon Zakai2016-08-151-2/+4
|
* Add initialization functions for passes to avoid missing pass registration ↵Jukka Jylänki2016-06-211-1/+3
| | | | due to linker dead code elimination. Fixes #577.
* update functions map in RemoveUnusedFunctions (#545)Alon Zakai2016-05-261-0/+1
|
* Add remove unused functions pass. (#463)Michael Bebenita2016-05-251-0/+58