- 23 Mar, 2000 8 commits
-
-
simonmar authored
Avoid loops in CCS graph.
-
sewardj authored
In interface files, don't forget to mention the names of modules imported via hi-boot files. This is needed so that Hugs can use the import decls in interface files to safely overestimate the dependency sets which it will encounter when linking object code.
-
sewardj authored
Allow clients of the linker library (object.[ch]) to specify, portably, symbols they wish to ignore in calls to ocGetNames(). Use this modification to support ignoring the multiple occurrences of ghc_cc_ID.
-
simonmar authored
Don't wake up threads if the select() was interrupted by a signal.
-
sewardj authored
storage.h needs to see a machine-dependant file-timestamp type for use in Module symbol table entries -- hence this file.
-
simonmar authored
update expected output
-
simonmar authored
Add a few more test cases.
-
simonmar authored
Disable some of the special cases in remInteger and quotInteger, which turned out to be wrong.
-
- 22 Mar, 2000 7 commits
-
-
sewardj authored
Zap outdated ifdeffery.
-
sewardj authored
Initial commit of major changes to module chasing and storage management: * Total reimplementation of module chasing (see achieveTargetModules in hugs.c). Build, maintain and use module dependency graphs to decide what needs reloading when. The old mechanism with a stack of scripts, etc, is gone forever. All the rest of these points are in support of the module-chasing change: * The result of parsing a module is now a parse tree, rather than a half-baked parse tree and a bunch of side-effects. Hooray! * Redo symbol tables for Names, Tycons, Classes, Instances and Modules. They are now dynamically expandable, doubling in size automatically when full, and use a freelist system to keep track of available slots. * Allow arbitrary modules to be deleted from the system. The main honcho here is nukeModule(). * Not strictly necessary, but ... unify the address space for all compile-time entities. See revised whatIs(). Text is part of the unified address space. This is very convenient for debugging. print() can now print practically anything. Generally simplify storage management as much as possible, and zap the years of elaborate hacks needed to make Hugs work well in 16-bit systems. Added a load of sanity-checking support to storage.[ch]. * We don't support project files any more. They were useful for a while, but no longer seem relevant. * Nuked a large bunch of irrelevant options in rts/options.h. As of this commit, the system can load and chase modules, both in standalone and combined modes. The :l (load), :a (also), :r (refresh), :i (info), :t (show type) and :m (set eval module) commands appear to work. There are also several temporary limitations which will be fixed soon: * Anything to do with external editors, etc, doesn't work. * The downward-closure-of-object-code (if M is object, all modules below M must be too) is not enforced nor checked for. It needs to be. * Module M _must_ reside in M.hs/M.o (sigh). To be fixed. * Error handling is probably flaky, and interrupt handling very likely is. * Error messages don't have line numbers. (A 5-minute fix). * Progress messages are all at sea; needs re-thinking now that the order in which things are done is radically different. * Compile-time GC is temporarily disabled whilst I figure out how to stress-test the GC. * Freed-up symbol table entries are never re-entered on the free lists -- a debugging measure. * :% is given a bad type in combined mode. To be investigated.
-
simonmar authored
another -u: __init_PrelMain
-
simonpj authored
Make Enum for Ratio behave like the Report says
-
rrt authored
Removed obsolete comment.
-
rrt authored
Changed __init_Main to __init_PrelMain in line with changes elsewhere.
-
rrt authored
Stopped PrelMain.dll_o being built with -split-objs (filter this out from argument list)
-
- 21 Mar, 2000 11 commits
-
-
simonmar authored
What happened to gcc's "uninitialised variable" warnings when I needed them?
-
simonmar authored
not needed anymore.
-
simonmar authored
wibbles
-
simonmar authored
Fix up the tests in here. Now that threadDelay is interruptible, many of the tests for block/unblockAsyncExceptions failed because they were relying on exceptions being blocked during a threadDelay.
-
simonmar authored
Call __init_PrelMain instead of __initMain. PrelMain lives above Main in the dependency tree, so this is more correct.
-
simonmar authored
MutableArray/STArray fixage.
-
rrt authored
Added PrelException_BlockedOnDeadMVar_static_closure and PrelException_NonTermination_static_closure.
-
rrt authored
Made them build on mingw32 again (problems with getourtimeofday, which shouldn't be needed under mingw anyway).
-
simonmar authored
Fix several bugs in readChunk, mainly to do with copying already-buffered data into the user buffer.
-
panne authored
After Simon's last commit it suffices to mention libHS once (that was exactly what I was trying in that second :-)
-
simonmar authored
- add BlockedOnDeadMVar to the ever-increasing list of '-u' things - remove accidental commit (again). sigh.
-
- 20 Mar, 2000 4 commits
-
-
panne authored
ITimer.h is really called Itimer.h. Hmmm, let's guess on what brilliant OS this part of the RTS was developed... :-))
-
panne authored
Bootstrapping fix, this time for slurpFile
-
andy authored
Adding an alternative to the "delay" system used for threads that are waiting for time to pass. This works on a target time basis, eliminating the need to use the ticky style counter. It is only enabled under: #if defined(INTERPRETER) && !defined(HAVE_SETITIMER)
-
andy authored
Second attack at supporting threads inside STG Hugs. We now support most of the concurrency primitives. Also a wibble in Evaluator.c, letting Hugs compile.
-
- 19 Mar, 2000 1 commit
-
-
panne authored
*sigh* hPutBuf{,BA} versionitis again, this time for bootstrapping 4.07
-
- 18 Mar, 2000 2 commits
-
-
panne authored
Due to PrelException_PutFullMVar_static_closure there is a circular dependency between libHS and libHSrts, which is broken during the linking phase by mentioning -lHS again *after* -lHSrts. Hmmm, perhaps it would be better to mention the smaller -lHSrts twice instead? With this patch 4.06 can build 4.07, now let's see if it bootstraps...
-
panne authored
Re-enable soft failure while searching .hi files
-
- 17 Mar, 2000 7 commits
-
-
rrt authored
Spelt HS_cbits_imp correctly in SRC_BLD_DLL_OPTS
-
rrt authored
Set WAYS=$(GhcLibWays) so that DLLs can be built.
-
rrt authored
Added PrelException_PutFullMVar_static_closure and __init_Prelude, and also (rather hackily) __init_Main (until I find out how that should really be dealt with).
-
simonmar authored
don't export non-std stuff.
-
simonmar authored
More random cleanups.
-
simonmar authored
Random cleanup: rename the TSO->whatNext field to what_next, to be a bit more consistent.
-
simonmar authored
Add the readBlahOffAddr suite of primitives. The previous method of using indexStuffOffAddr didn't enforce proper ordering in the I/O monad. The indexBlahOffAddr primops may go away in the future if/when we figure out how to make unsafePerformIO into a no-op at the back end.
-