Neil Brown
7e0bc775bf
Changed the writtenVars entry of Vars to be a map from variables to (assigned-from) expressions
...
The expressions are optional (wrapped in a Maybe type)
2008-06-05 20:30:44 +00:00
Neil Brown
936382a3ca
Renamed labelFunctions to labelUsageFunctions, to make it clearer what the functions are for
2008-06-05 20:16:02 +00:00
Neil Brown
21329287e2
Fixed a problem with GHC 6.6 and the new pass mechanism by removing all the dollars that were confusing the type-checker
2008-06-03 16:16:26 +00:00
Neil Brown
0adbdda126
Moved all the pass information about the Rain passes into their definition (rather than the pass list at the top)
...
As part of this patch, I have also introduced a helper function that fiddles the type system for those passes that must run at the top-level (i.e. on A.AST) rather than on any Data t. They will give an error if not applied at the top-level.
2008-06-02 12:51:14 +00:00
Neil Brown
5301b83148
Added code to actually make the implicit mobility decisions take effect in the tree
2008-06-01 19:28:22 +00:00
Neil Brown
600ce667cb
Refactored the code for making and printing out the move/copy decisions in the ImplicitMobility module
2008-05-30 18:28:40 +00:00
Neil Brown
947f252e66
Corrected the implicit mobility so that it now works properly on the Rain move testcase
2008-05-30 17:29:21 +00:00
Neil Brown
a5fca4816b
Added the beginnings of support for implicit mobility for Rain (just printing out the decisions for now)
2008-05-30 17:16:10 +00:00