From c6959ac854908a88816962c2d0f8ce4e1c389df9 Mon Sep 17 00:00:00 2001 From: Neil Brown Date: Tue, 20 Jan 2009 17:36:02 +0000 Subject: [PATCH] Stopped removeDirections operating on the C++ backend, where we actually want to keep the directions --- backends/BackendPasses.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backends/BackendPasses.hs b/backends/BackendPasses.hs index 8dce7a9..419a771 100644 --- a/backends/BackendPasses.hs +++ b/backends/BackendPasses.hs @@ -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))