Optimizer - Dead store elimination

Works for variables and assets. Does not cover call arguments yet.
This commit is contained in:
Emmanuel BENOîT 2017-12-17 09:33:45 +01:00
parent ab279857fa
commit ff50ba561a
4 changed files with 75 additions and 20 deletions

3
TODO
View file

@ -17,9 +17,8 @@ Scripting:
* Dead code elimination
* Local variables
* Unused arguments
* Dead store
* Dead store: call arguments
* Unused functions
* Branches
* Common subexpressions
* Strength reduction
* Loop-invariant code motion