aboutsummaryrefslogtreecommitdiff
path: root/backendC/CleanCompilerSources
AgeCommit message (Collapse)AuthorFilesLines
2017-02-07add Makefile.arm for ARM (with gcc -marm)johnvg1-0/+17
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@2772 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2016-09-29don't use freopen with Visual Studio, to prevent crashesjohnvg2-14/+25
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@2743 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2016-09-29use "a" instead of "aw" in fopen and freopen calls, to prevent immediately ↵johnvg1-4/+4
crashes with VC 14 git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@2742 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2016-09-27remove definition of EndOfFile, causes errors with VC 14 if windows.h is ↵johnvg1-1/+0
included git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@2741 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2016-09-20add -static-libgcc to remove dependency on a dlljohnvg1-2/+2
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@2740 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2016-09-20avoid annoying C compiler warnings for _X86_johnvg1-1/+3
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@2739 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2016-09-19rename function CopyContext to copy_context to avoid conflict with Windows ↵johnvg1-3/+3
API function CopyContext git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@2738 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2016-09-16add Makefile.windows_mingw for backend.dll and backend.defjohnvg1-0/+15
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@2736 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2016-06-10add a bit in the .comp directive indicating whether -dynamics was passedjohnvg4-2/+9
(to make it possible for the IDE to recompile if necessary) git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@2728 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2016-06-06fix previous commitjohnvg1-1/+1
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@2723 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2016-06-06fix bug that occurs if the same label name is used for inline code in ↵johnvg6-10/+10
different system modules git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@2722 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2016-06-06make RetrieveFromSymbolTable static,johnvg2-74/+11
remove old prototypes from scanner.h, remove #ifndef CLEAN2 .. #endif git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@2721 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2016-06-06remove #pragma options (!macsbug_names)johnvg1-2/+0
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@2720 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2016-06-06remove #ifdef CLEAN2johnvg1-19/+16
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@2719 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2016-05-18remove unused fields and typesjohnvg1-158/+5
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@2709 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2016-05-18remove unused functionsjohnvg3-222/+0
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@2708 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2016-04-07remove some unnecessary copying on the stack for root record updatesjohnvg1-13/+19
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@2685 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2016-04-06remove an unnecessary record copy in the abc code for some record updatesjohnvg3-197/+73
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@2684 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2016-04-05use {}'s instead of ()'s in element type string for unboxed recordsjohnvg1-2/+2
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@2683 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2015-11-23use new label names for _indirection (instead of old names)johnvg2-4/+4
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@2667 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2015-09-17fix name in descriptor for unboxed lists of records if exporting local ↵johnvg1-1/+1
labels (again) git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@2632 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2015-08-20add record label to .record directive for list of unboxed recordsjohnvg1-11/+14
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@2609 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2015-08-19fix bug in FPrintF calljohnvg1-2/+2
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@2608 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2015-08-18fix previous version, add return before next case in switch instructionjohnvg1-1/+2
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@2607 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2015-08-18add descriptors of unboxed sub records to .record directive, in reverse orderjohnvg1-37/+206
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@2605 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2015-07-21export label of node entry for Array methods for arrays of unboxed records ↵johnvg1-6/+10
if exporting local labels git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@2582 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2015-07-20fix names and export labels of tuple selectors > 6 if exporting local labelsjohnvg2-2/+31
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@2577 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2015-07-09fix name in descriptor for unboxed lists of records if exporting local labelsjohnvg1-1/+1
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@2569 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2015-07-09fix printing of symbols starting with a _ (characters after ; were printed ↵johnvg1-8/+10
twice) git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@2568 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2013-12-04generate .impmod before importing labels and descriptors,johnvg11-101/+301
using this information the code generator can determine from which module a label is imported, this is used when generating position independent code git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@2332 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2013-11-08generate jsr_ap 1 instead of jsr e_system_sAPjohnvg1-4/+1
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@2319 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2013-10-21rename parameter inline to inlineFlag, because it is now a keyword (since c99)johnvg1-1/+1
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@2301 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2013-08-23bug fix: generate jmp_eval_upd entry for update function for boxed recordsjohnvg1-37/+21
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@2287 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2013-08-22bug fix: don't use jmp_eval_upd for record fields of an abstract typejohnvg1-1/+5
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@2285 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2013-04-09in lazy record selector offsets for the garbage collector, swap the offsets,johnvg1-0/+8
because the code generator swaps the fields in a FILE node git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@2230 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2013-03-20restore some code for reopening files that was accidently removedjohnvg1-2/+8
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@2209 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2013-03-19use / instead of \ after Clean System Files in pathsjohnvg1-1/+1
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@2207 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2013-03-18use / instead of \ in pathsjohnvg1-3/+3
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@2205 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2013-03-18add hierarchical modulesjohnvg1-14/+83
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@2204 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2012-09-21add hierarchical modulesjohnvg1-15/+84
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@2177 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2012-09-21don't try to remove file extension in BEGenerateCode,johnvg1-29/+0
because of potential ambiguity with hierarchical module names git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@2176 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2012-07-27optimize is constructor functionsjohnvg6-32/+143
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@2128 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2012-07-09remove limit on the size of the converted syntax tree in the strictness analyzerjohnvg2-10/+29
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@2108 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
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
2012-06-19increase available memory (1000 instead of 200 blocks of 16k) for the ↵johnvg1-15/+15
strictness analyzer git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@2103 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2012-06-11fix function InstantiateExp2, prevent crashjohnvg1-46/+48
if the forwarding pointer has been used and is later replaced by &bottom git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@2081 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2012-05-15thunk lift partial function arguments,johnvg1-29/+122
prevent unnecessary eval's of partial function calls, prevent thunk lifting of strict constructors with constant and evaluated arguments git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@2074 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2011-09-06add BEExtendableAlgebraicTypejohnvg2-0/+23
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@1971 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2011-07-04fix small bug in merging Deps or Lubsjohnvg1-15/+13
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@1952 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2011-05-10don't use freopen to redirect stdout and stderror,johnvg4-94/+79
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