]> Joshua Wise's Git repositories - snipe.git/blob - optimize/feckful.sml
Add string pasting support to the gramamr.
[snipe.git] / optimize / feckful.sml
1 structure FeckfulnessAnalysis :> OPTIMIZATION =
2 struct
3   structure T = Tree
4   structure TU = TreeUtils
5   
6   fun feckstm (a as T.EFFECT e) =
7         if (TU.effect e)
8         then [a]
9         else []
10     | feckstm a = [a]
11   
12   val optimizer = { shortname = "feckfulness", description = "Removes simple side effect statements that have no effect", func = Optimizer.IRSTM feckstm }
13 end
This page took 0.024252 seconds and 4 git commands to generate.