]> Joshua Wise's Git repositories - snipe.git/blame_incremental - optimize/feckful.sml
Rename output binary from l5c to snipe
[snipe.git] / optimize / feckful.sml
... / ...
CommitLineData
1structure FeckfulnessAnalysis :> OPTIMIZATION =
2struct
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 }
13end
This page took 0.028509 seconds and 5 git commands to generate.