Commit graph

10 commits

Author SHA1 Message Date
d3b1883693 Optimizer - Finished function inlining 2017-12-23 17:18:29 +01:00
630dd94ba6 Optimizer - Remove unused local variables 2017-12-17 09:55:53 +01:00
ab279857fa Optimizer - Remove dead branches 2017-12-16 10:38:17 +01:00
12f9402c94 Optimizer - Working constant propagation
AST's replace function needed to be recursive
2017-12-14 07:39:38 +01:00
223dd1763d AST - Finished refactoring
(unless I forgot shit)
2017-12-14 07:29:39 +01:00
5f6eee238f Parser - Refactored AST nodes
AST nodes use the same storage structure, whatever their nature.
2017-12-13 21:44:50 +01:00
efa1b26150 Optimizer - Constant propagation for variables
* It doesn't work for function arguments at this point, but shouldn't be
too hard to implement that.
* Can't use it to its full potential mostly because I need to get rid of
the node-specific shit in the AST.
2017-12-12 18:30:41 +01:00
0175bed077 Optimizer - Began working on constant folding 2017-12-01 07:30:03 +01:00
59b23de5ed Parser - Fixed problem with unused functions 2017-11-30 17:56:37 +01:00
05472b1c3a UI - Refactoring progress
(see previous log message)
2017-11-23 23:31:24 +01:00
Renamed from opast.hh (Browse further)