tock-mirror/backends
Neil Brown ba66cce89f Moved all the remaining pass information to be with the passes themselves, and adjusted the tests accordingly
All the passes now have their information (name, pre-requisites and post- properties) stored at the point where the pass is declared, which means the pass lists are just a simple list of pass functions.

The main consequence of this change was that the tests had to be changed.  Now, instead of taking a "pass applied to data" item (type: PassM b), they take both the pass (type: Pass) and source data (type: b), and apply them later.  This was the decision that involved the simplest changes to the existing tests (simply unbracketing the application of the pass to the source).  I also had to include a few old-style versions though (testPass', testPassShouldFail') for where the functions were being used to test things that weren't actually passes (mainly StructureOccam).

Fixes #48
2008-06-02 14:31:19 +00:00
..
AnalyseAsm.hs Fix some broken Haddock. 2008-05-25 18:49:15 +00:00
AnalyseAsmTest.hs In AnalyseAsm, ignore labels that contain "." anywhere. 2008-04-06 15:31:28 +00:00
BackendPasses.hs Moved all the remaining pass information to be with the passes themselves, and adjusted the tests accordingly 2008-06-02 14:31:19 +00:00
BackendPassesTest.hs Moved all the remaining pass information to be with the passes themselves, and adjusted the tests accordingly 2008-06-02 14:31:19 +00:00
GenerateC.hs Moved all the remaining pass information to be with the passes themselves, and adjusted the tests accordingly 2008-06-02 14:31:19 +00:00
GenerateCBased.hs Fixed some unused module import warnings, now that PassM is not build of monad transformers 2008-03-10 17:19:45 +00:00
GenerateCPPCSP.hs Moved all the remaining pass information to be with the passes themselves, and adjusted the tests accordingly 2008-06-02 14:31:19 +00:00
GenerateCTest.hs Take NameType out of NameDef. 2008-06-02 10:13:14 +00:00
TLP.hs Take NameType out of NameDef. 2008-06-02 10:13:14 +00:00