Mirror of http://offog.org/git/tock.git . Tock (translator from occam to C from Kent) is a Haskell-based compiler for occam and related languages.
Go to file
Adam Sampson bd44a1c748 Add a few bytes of stack to every function.
This also makes sure that every function gets a stack size constant.

There are some functions which don't do any stack adjustment -- where GCC's
smart enough to just compile them to a "ret" (because it knows it needs a
function pointer, but also that the function does nothing). CCSP doesn't like
it when you ask for a stack size of 0; I haven't yet investigated why, but this is likely to change anyway once Carl's changes go into CCSP trunk.
2007-08-21 22:06:21 +00:00
testcases Rework the parser to use the new lexer. 2007-08-21 20:44:15 +00:00
AnalyseAsm.hs Add a few bytes of stack to every function. 2007-08-21 22:06:21 +00:00
AST.hs Add licensing information. 2007-08-18 20:42:11 +00:00
CompState.hs Rework the parser to use the new lexer. 2007-08-21 20:44:15 +00:00
COPYING Add licensing information. 2007-08-18 20:42:11 +00:00
COPYING.LIB Add licensing information. 2007-08-18 20:42:11 +00:00
Errors.hs Add licensing information. 2007-08-18 20:42:11 +00:00
EvalConstants.hs Add licensing information. 2007-08-18 20:42:11 +00:00
EvalLiterals.hs Add licensing information. 2007-08-18 20:42:11 +00:00
GenerateC.hs Add licensing information. 2007-08-18 20:42:11 +00:00
GenerateCPPCSP.hs Add licensing information. 2007-08-18 20:42:11 +00:00
Intrinsics.hs Add licensing information. 2007-08-18 20:42:11 +00:00
kroc-wrapper-c.c Add licensing information. 2007-08-18 20:42:11 +00:00
kroc-wrapper.occ Add licensing information. 2007-08-18 20:42:11 +00:00
LANGUAGE Give tock its own repo -- i.e. remove everything else and move tock up 2007-07-16 21:48:55 +00:00
LexOccam.x Make the lexer only recognise known preprocessor directives. 2007-08-21 21:12:44 +00:00
Main.hs Rework the parser to use the new lexer. 2007-08-21 20:44:15 +00:00
Makefile Update the Makefile for the new cgtests branch. 2007-08-21 21:36:35 +00:00
Metadata.hs Add licensing information. 2007-08-18 20:42:11 +00:00
Parse.hs Rework the parser to use the new lexer. 2007-08-21 20:44:15 +00:00
Pass.hs Add licensing information. 2007-08-18 20:42:11 +00:00
PassTest.hs Moved TreeUtil.Pattern to its own module (Pattern), which allowed me to show the pshowPattern function to be part of the PrettyShow.pshow function 2007-08-20 21:01:06 +00:00
Pattern.hs Actually added Pattern.hs 2007-08-21 00:44:55 +00:00
PreprocessOccam.hs Rework the parser to use the new lexer. 2007-08-21 20:44:15 +00:00
PrettyShow.hs Added better pretty-printing for list Patterns, with a special case for strings that prints them out nicely 2007-08-20 21:35:19 +00:00
RainParse.hs Rework the parser to use the new lexer. 2007-08-21 20:44:15 +00:00
RainParseTest.hs Rain: added some tests for parsing data types 2007-08-20 22:39:58 +00:00
RainPasses.hs Added Rain as a possible frontend for Tock, by adding a new command-line option. 2007-08-20 17:39:33 +00:00
RainPassTest.hs Moved TreeUtil.Pattern to its own module (Pattern), which allowed me to show the pshowPattern function to be part of the PrettyShow.pshow function 2007-08-20 21:01:06 +00:00
SimplifyExprs.hs Added a PassTest file intended for tests of the occam passes, and put in it a test for the functions-to-procs pass 2007-08-20 17:23:20 +00:00
SimplifyProcs.hs Add licensing information. 2007-08-18 20:42:11 +00:00
SimplifyTypes.hs Add licensing information. 2007-08-18 20:42:11 +00:00
StructureOccam.hs Lex multiline strings as multiple tokens. 2007-08-21 20:01:46 +00:00
SYNTAX Give tock its own repo -- i.e. remove everything else and move tock up 2007-07-16 21:48:55 +00:00
TestMain.hs Added a PassTest file intended for tests of the occam passes, and put in it a test for the functions-to-procs pass 2007-08-20 17:23:20 +00:00
TestUtil.hs Added some helper functions for creating simple Patterns to TestUtil 2007-08-20 21:53:24 +00:00
TLP.hs Add licensing information. 2007-08-18 20:42:11 +00:00
tock_support_cppcsp.h Add licensing information. 2007-08-18 20:42:11 +00:00
tock_support.h Add licensing information. 2007-08-18 20:42:11 +00:00
TODO Give tock its own repo -- i.e. remove everything else and move tock up 2007-07-16 21:48:55 +00:00
TreeUtil.hs Moved TreeUtil.Pattern to its own module (Pattern), which allowed me to show the pshowPattern function to be part of the PrettyShow.pshow function 2007-08-20 21:01:06 +00:00
Types.hs Fixed a slightly confusing inner predicate name for findMeta 2007-08-20 22:06:26 +00:00
Unnest.hs Add licensing information. 2007-08-18 20:42:11 +00:00
UsageCheck.hs Add licensing information. 2007-08-18 20:42:11 +00:00
UsageCheckTest.hs Add licensing information. 2007-08-18 20:42:11 +00:00
Utils.hs Rework the parser to use the new lexer. 2007-08-21 20:44:15 +00:00