- Apr 21, 2000
-
-
sven.panne@aedion.de authored
Bumped the maximum size of tuples from 37 to 62. If this is not wanted, use PrelTup_HC_OPTS+=-DNO_LARGE_TUPLES in build.mk.
-
sven.panne@aedion.de authored
Further steps towards an empty build.mk: * GHC is now built with -O by default * hslibs/tools now use GhcLibToolsHcOpts, again -O by default
-
Simon Peyton Jones authored
Add loop test
-
Simon Peyton Jones authored
Remove a way to make the simplifier go into an infinite loop. This has been there for some weeks; and George's UniForm tickled it. I'm amazed nothing else has done so. I'll add a test. The bad case happened when you go let xs = 1:xs in foldr k z xs Then we kept firing the foldr/cons rule. Solution: we don't attach an unfolding *at all* to loop breakers (Simplify.completeBinding)
-
Simon Peyton Jones authored
First I forgot to commit all the files for the Java support. Then I spoke the wrong CVS command. This commit just adds the log message! -------------------------- Add support for Java generation, written in a lightning day with Erik Meijer ghc -J Foo.hs will do the business, generating Foo.java The code is in a new directory, javaGen/, so you'll need to cvs update -d. I've reorganised main/CodeOutput quite a bit; it is now much much tidier, and will accommodate new languages quite easily. I've also fiddled with the flags that communicate between the driver and hsc. GONE: -S= -C= NEW: -olang=xxx output language xxx xxx can be: C, asm, java -ofile=xxx put the output code in file xxx BEWARE that I might have broken some of the more cryptic stuff in ghc.lprl. Simon
-
Simon Peyton Jones authored
And here is the commit for the driver
-
Simon Peyton Jones authored
/home/simonpj/tmp/msg
-
- Apr 20, 2000
-
-
Simon Peyton Jones authored
Add support for Java generation, written in a lightning day with Erik Meijer ghc -J Foo.hs will do the business, generating Foo.java The code is in a new directory, javaGen/, so you'll need to cvs update -d. I've reorganised main/CodeOutput quite a bit; it is now much much tidier, and will accommodate new languages quite easily. I've also fiddled with the flags that communicate between the driver and hsc. GONE: -S= -C= NEW: -olang=xxx output language xxx xxx can be: C, asm, java -ofile=xxx put the output code in file xxx BEWARE that I might have broken some of the more cryptic stuff in ghc.lprl. Simon
-
Simon Peyton Jones authored
Finish TcClassDecl
-
sven.panne@aedion.de authored
To avoid potential collisions between different modules, prefix the names of the C stubs with the module name.
-
sven.panne@aedion.de authored
I'm not sure if the last commit of MkId.lhs was incorrect or incomplete. Anyway, to build hsc I've commented out the now superfluous parameter for mkDictSelId (marked with "SUP:???").
-
sven.panne@aedion.de authored
Package util now depends on package posix, too. NOTE: To get Readline up and working, -lreadline and one of -lncurses/-lcurses/-ltermcap has to be inserted, too, but this has to be autoconf-ed somehow (later...)
-
Simon Marlow authored
Update this file to the one on the web site, and add Simon's latest notes about using the cvs- lists for bug reports about the cvs sources.
-
Simon Marlow authored
Print out cost centre names as C strings (using proper escaping for special characters etc.).
-
sven.panne@aedion.de authored
Improved rules for stubs. Not perfect yet, but better than before.
-
Simon Marlow authored
add pprStringInCStyle :: String -> SDoc (we already have a FAST_STRING version but not one for plain Strings).
-
Simon Marlow authored
Fix for initModules when unregisterised.
-
Simon Peyton Jones authored
Dont strip directory prefix when printing src-locs
-
Simon Peyton Jones authored
- Fix bug in TcExpr.tcMonoExpr (RecordUpd ...), where I hadn't propagated the recent change (to be H98ish) that record selectors for types with a context are overloaded: data Eq a => T a { f1 :: a } Here f1 :: Eq a => T a -> a I don't like this, but Mark persuaded me that this was the Right Thing if we are to have contexts in data decls at all (which we should not)
-
Simon Peyton Jones authored
wibble
-
- Apr 19, 2000
-
-
Simon Marlow authored
Space leak fix from Simon P.J.
-
Simon Peyton Jones authored
- Fix foreign export dynamic wibble (reported by Sven)
-
Simon Peyton Jones authored
- Don't rm the .o file when splitting. Doing so forces grotesque amounts of recompilation
-
Simon Peyton Jones authored
- Arrange that -ddump-simpl-stats works whether or not DEBUG is defines (Ross Paterson's request)
-
Simon Marlow authored
- generate the heap profiling into <prog>.hp, as advertised - clean up RtsFlags a bit
-
Simon Marlow authored
Profiling info for all the thunks herein.
-
Simon Marlow authored
Profiling description info for PAP and AP_UPD.
-
Simon Marlow authored
MUT_VAR needs some profiling description info.
-
sven.panne@aedion.de authored
Corrected typo in nfib example (/ => `div`). Added description for hp2ps's -c/-y flags.
-
Simon Marlow authored
Fix a bug in previous commit, some .globls were getting thrown away.
-
- Apr 18, 2000
-
-
Simon Marlow authored
enumFrom<blah> on Ratios changed slightly recently. The current behaviour is correct.
-
Simon Marlow authored
Push directives over literal chunks when attempting to move them to the following chunk on x86. Occasionally gcc generates a .glob directive some distance before the symbol it refers to, and we were ending up with a whole load of .glob directives attached to strings, and duplicated in each .o file when splitting. This change reduces the size of my libHSstd_p.a from 43M (!!!) to 9M. I think this problem must have appeared with gcc 2.95.2, but it's a little strange that I didn't notice it until now.
-
Simon Marlow authored
Addr no longer exports A#.
-
Simon Marlow authored
CCallable [Char] is no longer supported.
-
Simon Marlow authored
give CAF_BLACKHOLEs a closure description/type (for profiling).
-
Simon Marlow authored
Revamp this chapter for the new profiling stuff.
-
sven.panne@aedion.de authored
Add ghcprof to file list (what about DrIFT, DtdToHaskell, Xtract and hslibs in general?)
-
sven.panne@aedion.de authored
Substitute libexecdir, too
-
Simon Marlow authored
Add declarations so that emacs PSGML mode can find the DOCTYPE declaration properly.
-
- Apr 17, 2000
-
-
Simon Marlow authored
Check for litlits and dll things when making top-level constrs.
-