- 03 Apr, 2000 10 commits
-
-
simonmar authored
misc profiling cleanups
-
simonmar authored
Remove unnecessary #include.
-
rrt authored
Stopped getourtimeofday() being called under mingwin. MBlock.c: changed one instance of 128 * 1024 * 1024 into SIZE_RESERVED_POOL and added a TODO comment (bug in is_heap_alloced(), which won't work if more than one megablock is ever allocated).
-
sewardj authored
Deal with MachWords, which recently have started appearing for unknown reasons.
-
simonmar authored
call __init_PrelMain instead of __init_Main.
-
sewardj authored
When generating native code, print the final result with printForAsm rather than printForUser. Why the former ever worked beats me.
-
simonmar authored
Finally retire the update analyser.
-
simonmar authored
don't mention non-existent RTS options.
-
panne authored
Declare `plusAddr` as infixl 5, allowing sensible expressions like addr `plusAddr` 47 * 11 or addr `plusAddr` 08 + 15
-
simonpj authored
* Make it so that recursive newtype declarations don't send GHC into an infinite loop. newtype T = MkT T This happened because Type.repType looked throught newtypes, and that never stopped! Now TcTyDecls.mkNewTyConRep does the job more carefully, and the result is cached in the TyCon itself. * Improve the handling of type signatures & pragmas. Previously a mis-placed (say) SPECIALISE instance pragmas could be silently ignored. Both these changes involved moving quite a lot of stuff between modules.
-
- 31 Mar, 2000 2 commits
-
-
andy authored
Fixing a couple of problems with Quantified identifiers. (1) The string building routine for Qid's was not using the new abstraction for showing names. The old abstraction worked most of the time in the new system, so was only getting tickled sometimes. (2) Fixing the local module that top level expressions evaluate in. By importing quantified Prelude, this allows top level expressions like Prelude.take And a trivial Makefile change.
-
hwloidl authored
Numerous changes in the RTS to get GUM-4.06 working (currently works with parfib-ish programs). Most changes are isolated in the rts/parallel dir. rts/parallel/: The most important changes are a rewrite of the (un-)packing code (Pack.c) and changes in LAGA, GALA table operations (Global.c) expecially in rebuilding the tables during GC. rts/: Minor changes in Schedule.c, GC.c (interface to par specific root marking and evacuation), and lots of additions to Sanity.c (surprise ;-) Main.c change for startup: I use a new function rts_evalNothing to start non-main-PEs in a PAR || SMP setup (RtsAPI.c) includes/: Updated GranSim macros in PrimOps.h. lib/std: Few changes in PrelHandle.c etc replacing ForeignObj by Addr in a PAR setup (we still don't support ForeignObjs or WeakPtrs in GUM). Typically use #define FILE_OBJECT Addr when dealing with files. hslibs/lang/: Same as above (in Foreign(Obj).lhs, Weak.lhs, IOExts.lhs etc). -- HWL
-
- 30 Mar, 2000 14 commits
-
-
simonpj authored
* Remove the unnecessary CPR parameter to mkUnfolding and friends * Make sure that even trivial wrappers have a __inline__ (this was causing lots of 'substWorker' DEBUG messages) * Nuke demand info when the unfolding is a value (see notes with IdInfo.setUnfoldingInfo) * Add an update-in-place test to the 'interesting context' predicate in SimplUtils.
-
simonmar authored
Support AP_UPDs/PAPs larger than a block in size. It turned out not to be too hard to do this. This fixes George Russell's bug ("hsc: fatal error: scavenge: stack frame").
-
simonmar authored
Add an ASSERT to catch a known bug: when allocating an AP_UPD in raiseAsync, if the object is larger than a block in size then all sorts of things can go wrong.
-
rrt authored
Filter out PrelHugs in all ways for building DLLs.
-
rrt authored
Added subl clause to epilogue munging.
-
rrt authored
Added rules for building GMP as a DLL. N.B. GMP is not actually used yet as a DLL; this remains to be added to the build system.
-
rrt authored
Removed __init_PrelMain, which shouldn't be in here.
-
simonpj authored
Document hoisting foralls
-
simonmar authored
update for extra parameter to startupHaskell().
-
simonmar authored
HEADS UP!!! change the type of startupHaskell(): void startupHaskell ( int argc, char *argv[], void *init_root ); the extra parameter is a pointer to the initialisation function for the root module in the program. eg., Main.c now passes __init_Main for this parameter. It can be left as NULL if there is no root module. This interface may need to be revised, since in some circumstances there may be more than one "root module". Sigbjorn: H/Direct will need some changes to stay in sync here.
-
simonmar authored
Remove this file, it moved to ghc/rts. (sigh, I thought I removed it already, but apparently not).
-
simonmar authored
Replace _static_closures with _closures.
-
andy authored
Wibble One.
-
andy authored
Fixing bug with import privileged clashing with import hidden. This caused a rather nasty name-leak, where catch from the prelude was being given the type of catch from Exceptions. Now, when you use import privileged Prelude (...) you also need to do import Prelude, allowing you the option of import Prelude hiding (...). A bucket load of wibbles will follow in various libraries, implementing this restriction.
-
- 29 Mar, 2000 2 commits
- 28 Mar, 2000 11 commits
-
-
simonmar authored
The new itimer stuff is NON_POSIX_SOURCE, and further protect it with HAVE_SETITIMER. Fixes building on Solaris again.
-
simonmar authored
Remove extra \end{code}
-
simonmar authored
Don't use "ccall" as a variable name; it confuses the interface file parser in 4.06. This bug has been fixed in 4.07.
-
rrt authored
Used new SplitObjs setting, and removed patsubst hack (no longer needed, thank goodness).
-
rrt authored
Added SplitObjs and removed -split-objs from GhcLibHcOpts.
-
andy authored
Restoring Hugs ability to accept the -98/+98 and -h<heap> options.
-
andy authored
Making STG Hugs compile again after the recent RTS checking.
-
simonmar authored
Replace freeze{Char,Int,Word,Float,Double}Array with freezeByteArray (using sizeofByteArray and a foreign import of C's memcpy()).
-
simonmar authored
remove redundant import.
-
simonmar authored
We weren't releasing the memory associated with dead file objects (including the possibly large buffer). This commit fixes that.
-
simonmar authored
ANSIfy function defn
-
- 27 Mar, 2000 1 commit
-
-
simonpj authored
Fix a bug in import listing in interface files that meant we lost track of interface files. This fixes the problem that led Sven to add lots of import PprType() decls. I've removed them all again!
-