aboutsummaryrefslogtreecommitdiff
path: root/backendC/CleanCompilerSources/backend.c
AgeCommit message (Collapse)AuthorFilesLines
2012-06-19reallocate (enlarge) gCurrentNodeIds array if necessaryjohnvg1-17/+26
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@2105 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2011-09-06add BEExtendableAlgebraicTypejohnvg1-0/+20
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@1971 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2011-05-10don't use freopen to redirect stdout and stderror,johnvg1-4/+16
instead use FILE pointer variables std_out_file_p and std_error_file_p, using freopen caused problems on MacOSX with the named pipes that are used by batchbuild to communicate with the compiler(s). git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@1937 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2011-03-01git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@1871 ↵johnvg1-0/+5
1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2011-03-01in BEConstructorSymbol store constructor index in symb_arity until ↵johnvg1-14/+18
BERecordType is called, instead of scanning all constructors to find it in BERecordType, (should be passed directly to BERecordType) git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@1870 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2011-03-01remove more unused fields and variablesjohnvg1-11/+0
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@1869 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2011-02-25git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@1866 ↵johnvg1-1/+0
1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2011-02-25remove some unused fields and variablesjohnvg1-10/+0
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@1865 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2010-10-07convert negative line numbers to 0,johnvg1-2/+2
because the frontend uses -1 for no line number, the backend 0 git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@1803 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2009-01-14add seqjohnvg1-2/+11
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@1726 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2008-12-19remove BENrOfBasicTypesjohnvg1-1/+0
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@1723 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2008-12-19add integers and rationalsjohnvg1-0/+44
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@1719 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2008-12-19add ExitEnv_validjohnvg1-0/+20
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@1714 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2008-12-19remove NR_Of_Basic_Denots, BENrOfBasicDenotsjohnvg1-1/+0
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@1711 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2007-02-21add BEStartFunctionjohnvg1-0/+6
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@1650 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2006-01-31Moved forward declaration of static functions from inside functionsronny1-4/+4
to top level, to suppress gcc 4.0 errors. git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@1591 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2006-01-04add function BEGetIntFromArray, will replace BECopyInts because copyingjohnvg1-0/+6
an array of integers in this way fails if the size of integers is not the same in clean and c git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@1583 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2005-11-22rename DeltaBId as StdBoolIdjohnvg1-2/+2
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@1570 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2004-04-19remove TC; typesronny1-6/+15
type constructors in dynamic types are now uniquely represented by the descriptor of their TD_ (type definition) function git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@1486 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2004-04-02implement foreign export with stdcalljohnvg1-1/+2
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@1483 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2004-02-09initialise sdef_mark with 0 and remove fields from list of symbols,johnvg1-14/+28
to prevent unnecessary imports and double imports of fields in the .abc file git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@1446 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2003-12-15add foreign exportjohnvg1-0/+15
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@1433 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2003-10-16add extra attribute argument to BEFlatType andjohnvg1-4/+4
the is_boxed_record argument to BERecordType git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@1391 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2003-10-06use False instead of FALSE, doesn't compile on linuxjohnvg1-1/+1
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@1378 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2003-06-17removed unused functionsronny1-68/+26
updated version (necessary because previous commit introduced incompatibilities) git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@1348 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2002-12-10set im_def_module field so that the bit in .comp thatjohnvg1-2/+8
indicates a system module will be set git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@1298 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2002-10-21add BEFlatTypeX and BERecordTypeX for boxed records andjohnvg1-4/+29
types with lhs uniqueness attribute git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@1248 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2002-06-05Unix versionronny1-12/+44
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@1083 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2002-03-20set sdef_exported bit for sdefs in the main dcl module tojohnvg1-0/+2
generate the label name for an exported type when the main module is on a cycle and a type exported from this module is used in a function in another definition module git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@1057 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2002-02-15backend.cjohnvg1-1/+1
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@1025 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2002-02-15allow record update nodes with more than 2 argumentsjohnvg1-9/+18
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@1024 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2001-11-26bug fix in initialisationronny1-4/+12
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@904 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2001-11-01pass strictness information from C to Clean, print strict exported and all ↵ronny1-4/+66
types in Clean git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@877 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2001-10-05bind special idents (such as abort, undef from StdMisc) to the correct ↵ronny1-1/+51
identifiers git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@828 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2001-10-01pass file modification times from icl module and dcl modules to backendronny1-2/+4
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@808 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2001-09-05print forall typevars in backendronny1-2/+24
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@737 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2001-09-03added code for strict and unboxed listsjohnvg1-18/+282
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@728 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2001-07-13bug fix: reverse order of functions (in components)johnvg1-4/+4
(backendconvert.icl,backend.c) git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@544 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2001-07-12uniqueness attributes in backendronny1-2/+64
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@542 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2001-06-25generate .depend for current dcl moduleronny1-4/+11
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@504 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2001-06-22local reference counts for CaseNode and DefaultNoderonny1-14/+320
remove aliases for nodeids from tuple and record patterns new version number (2.0.d.8) git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@499 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2001-06-15removed commentsronny1-4/+1
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@487 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2001-05-15merged with backend C source code on the macjohnvg1-1/+68
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@430 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2001-05-09cases in backendronny1-4/+152
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@410 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2001-05-09bail out if illegal command arguments are passed to the backendronny1-2/+2
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@409 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2001-05-01Use CompAlloc for memory allocation in backend.cronny1-7/+7
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@374 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2001-02-23temporary hack: redirect basic type Dynamic to DynamicTemp from StdDynamicronny1-0/+21
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@302 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2000-11-29more node_number=0 statementsclean1-0/+4
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@285 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2000-11-23exclude symbols from current dcl module from im_symbols (prevents multiple ↵ronny1-0/+9
record en constructor labels in abc) updated version git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@283 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2000-11-13Added initialisations of node_number fieldronny1-0/+5
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@281 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d