Stopped removeDirections operating on the C++ backend, where we actually want to keep the directions

This commit is contained in:
Neil Brown 2009-01-20 17:36:02 +00:00
parent 0b75720e2e
commit c6959ac854

View File

@ -51,7 +51,7 @@ prereq = Prop.agg_namesDone ++ Prop.agg_typesDone ++ Prop.agg_functionsGone ++ [
-- and this somewhat simplifies the work of the later passes.
removeDirections :: Pass
removeDirections
= occamOnlyPass "Remove variable directions"
= occamAndCOnlyPass "Remove variable directions"
prereq
[Prop.directionsRemoved]
(applyDepthM (return . doVariable))