![]() 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 |
||
---|---|---|
.. | ||
AnalyseAsm.hs | ||
AnalyseAsmTest.hs | ||
BackendPasses.hs | ||
BackendPassesTest.hs | ||
GenerateC.hs | ||
GenerateCBased.hs | ||
GenerateCPPCSP.hs | ||
GenerateCTest.hs | ||
TLP.hs |