summaryrefslogtreecommitdiff
path: root/src/passes/DuplicateFunctionElimination.cpp
Commit message (Collapse)AuthorAgeFilesLines
* fix BINARYEN_PASS_DEBUG option (#908)Alon Zakai2017-02-231-0/+2
| | | | | * fix BINARYEN_PASS_DEBUG option * Add isNested property to passRunner
* Default Walker subclasses to using Visitor<SubType> (#921)jgravelle-google2017-02-231-2/+2
| | | | Most module walkers use PostWalker<T, Visitor<T>>, let that pattern be expressed as simply PostWalker<T>
* Make ast_utils into a library (#892)Derek Schuff2017-01-311-4/+4
| | | | Split ExpressionAnalyzer and ExpressionManipulator into cpp files, and turn their giant template functions into simple functions which take a callback. More organization, fewer mammoth headers, makes the build a few seconds faster, and the binaries a couple MB smaller.
* add a RemoveUnusedModuleElements pass, and make LegalizeJSInterface create ↵Alon Zakai2016-12-071-1/+1
| | | | TempRet0 if needed (otherwise we might remove it before we use it)
* add option to remove duplicate funcs by nameAlon Zakai2016-09-071-0/+10
|
* offset support in tableAlon Zakai2016-08-151-4/+6
|
* 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.
* move function parallelism to pass and pass runner, which allows more ↵Alon Zakai2016-06-031-24/+16
| | | | efficient parallel execution (#564)
* refactor walk logic into walk* and doWalk* methods, for a more regular API ↵Alon Zakai2016-05-301-5/+4
| | | | that is clearer where it should be overridden (#551)
* add a pass that eliminates duplicate functionsAlon Zakai2016-05-281-0/+179