tock-mirror/backends
Neil Brown 4d2cdc0a9d Altered the backend passes to use all the new VariableSizes mechanisms rather than the old stuff
This is quite a big patch, as it reworks a large pass.  The three backend passes dealing with sizes stuff have now been merged into one (because the traversal order is important).

Instead of generating sizes arrays by blindly appending "_sizes", we now create nonces and store them in the csArraySizes map in CompState, which is a bit less hacky.

Added to that, we also generate constant-size arrays (e.g. for [8]) -- which are needed in case we pass the array to a PROC that has a flexible dimension -- at the top of the whole program, and use that array for every variable with that size (so if foo and bar have the same size, we use the same sizes array from the top of the program).
2009-03-31 10:22:34 +00:00
..
AnalyseAsm.hs Added a command-line option to change how much stack the unknown functions are given 2009-03-26 22:49:38 +00:00
AnalyseAsmTest.hs In AnalyseAsm, ignore labels that contain "." anywhere. 2008-04-06 15:31:28 +00:00
BackendPasses.hs Altered the backend passes to use all the new VariableSizes mechanisms rather than the old stuff 2009-03-31 10:22:34 +00:00
BackendPassesTest.hs Fixed some of the tests, and added another testcase for array passing, based on one of Carl's examples 2009-03-20 12:59:16 +00:00
GenerateC.hs Fixed the last few uses of genSizeSuffix in GenerateC to use the new system instead 2009-03-31 09:35:59 +00:00
GenerateCBased.hs Removed genSizeSuffix and turned most uses of it into calls to genDynamicDim 2009-03-31 09:29:55 +00:00
GenerateCPPCSP.hs Removed genSizeSuffix and turned most uses of it into calls to genDynamicDim 2009-03-31 09:29:55 +00:00
GenerateCTest.hs Fixed the tests enough to get them to compile, but a lot fail 2009-03-21 23:05:11 +00:00
TLP.hs Add kyb as another possible name for the keyboard channel. 2009-03-21 15:22:58 +00:00