tock-mirror/common
Neil Brown 9145c993ea Fixed the constant folding to use a type for Int based on the compilation target rather than just assuming Int32
However, it is possible that there will still be a problem if the C and C++ compiler have different int sizes, because the constant folding has to know the type at compile time, and thus we have to arbitrarily choose to use the C version.  In future, we could perhaps swap all Ints for the appropriate substiution (e.g. Int64) at run-time, based on the flags and prior knowledge about C/C++ int sizes
2009-01-23 15:50:06 +00:00
..
CommonTest.hs Go back to passing the value to the type-contains function. 2008-04-02 16:11:13 +00:00
Errors.hs Added a set of enabled warnings to CompState 2008-11-20 13:17:05 +00:00
EvalConstants.hs Fixed a bug in the constant folding, where anything divided by -1 was being evaluated to zero 2009-01-23 15:48:39 +00:00
EvalLiterals.hs Fixed the constant folding to use a type for Int based on the compilation target rather than just assuming Int32 2009-01-23 15:50:06 +00:00
GenericUtils.hs Added some comments to my changes to GenericUtils 2008-11-25 18:06:14 +00:00
Intrinsics.hs Added support for some intrinsic (time-related) functions in Rain 2008-03-22 18:58:10 +00:00
OccamEDSL.hs Renamed our permutations function to permutation to avoid a conflict with a new GHC 6.10 function 2008-11-28 11:28:39 +00:00
Pattern.hs Added the -fwarn-missing-signatures option and added all missing type signatures for non-test modules (and most for test modules too) 2008-02-05 23:06:03 +00:00
PrettyShow.hs Initial implementation of the occam-pi preprocessor. 2008-02-28 20:27:30 +00:00
ShowCode.hs Fixed the ShowCode module to work with the new channel-ends 2009-01-20 17:27:10 +00:00
TestFramework.hs Moved all the testPass* functions into the TestMonad, using unsafePerformIO for running them inside QuickCheck 2008-03-05 16:06:14 +00:00
TestHarness.hs Finally merged the list of warnings into CompState rather than having its own StateT monad 2008-11-20 13:35:44 +00:00
TestUtils.hs Added a NameSource field for NameDef that indicates where a name comes from 2008-11-25 17:36:42 +00:00
TreeUtils.hs Added an augmented version of Adam's gmapMFor that uses the same generics techniques, but also gives a route to the node to the transformation function 2008-11-06 18:32:35 +00:00
Types.hs Fixed the common Types module to work with the new channel-ends 2009-01-20 17:27:37 +00:00
Utils.hs Renamed our permutations function to permutation to avoid a conflict with a new GHC 6.10 function 2008-11-28 11:28:39 +00:00