- Apr 03, 2000
-
-
Simon Marlow authored
misc cleanups
-
Simon Marlow authored
misc profiling cleanups
-
Simon Marlow authored
Remove unnecessary #include.
-
Reuben Thomas 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).
-
Julian Seward authored
Deal with MachWords, which recently have started appearing for unknown reasons.
-
Simon Marlow authored
call __init_PrelMain instead of __init_Main.
-
Julian Seward authored
When generating native code, print the final result with printForAsm rather than printForUser. Why the former ever worked beats me.
-
Simon Marlow authored
Finally retire the update analyser.
-
Simon Marlow authored
don't mention non-existent RTS options.
-
sven.panne@aedion.de authored
Declare `plusAddr` as infixl 5, allowing sensible expressions like addr `plusAddr` 47 * 11 or addr `plusAddr` 08 + 15
-
Simon Peyton Jones 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.
-
- Apr 01, 2000
-
-
AndyGill authored
Initial revision
-
- Mar 31, 2000
-
-
AndyGill 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
-
- Mar 30, 2000
-
-
Simon Peyton Jones 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.
-
Simon Marlow 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").
-
Simon Marlow 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.
-
Reuben Thomas authored
Filter out PrelHugs in all ways for building DLLs.
-
Reuben Thomas authored
Added subl clause to epilogue munging.
-
Reuben Thomas 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.
-
Reuben Thomas authored
Removed __init_PrelMain, which shouldn't be in here.
-
Simon Peyton Jones authored
Document hoisting foralls
-
Simon Marlow authored
update for extra parameter to startupHaskell().
-
Simon Marlow 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.
-
Simon Marlow authored
Remove this file, it moved to ghc/rts. (sigh, I thought I removed it already, but apparently not).
-
Simon Marlow authored
Replace _static_closures with _closures.
-
AndyGill authored
Wibble One.
-
AndyGill 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.
-
- Mar 29, 2000
-
-
Simon Marlow authored
freezeDoubleArray ==> freezeByteArray
-
Simon Marlow authored
freeze<blah>Array ==> freezeByteArray
-
- Mar 28, 2000
-
-
Simon Marlow authored
The new itimer stuff is NON_POSIX_SOURCE, and further protect it with HAVE_SETITIMER. Fixes building on Solaris again.
-
Simon Marlow authored
Remove extra \end{code}
-
Simon Marlow 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.
-
Reuben Thomas authored
Replaced $(HC_OPTS) in mkdependhs rule whence I had inadvertently removed it along with the odir filter in which it sat.
-
Reuben Thomas authored
Used new SplitObjs setting, and removed patsubst hack (no longer needed, thank goodness).
-
Reuben Thomas authored
Added SplitObjs for when -split-objs is being used. Removed -split-objs and -odir from GhcLibHcOpts. -odir shouldn't be needed any more in any case. Changed order of recursive makes so that recursive make happens before make in the current directory. This helps when building hslibs as DLLs, where the cbits DLLs need to be made before the main DLLs.
-
Reuben Thomas authored
Added SplitObjs and removed -split-objs from GhcLibHcOpts.
-
AndyGill authored
Restoring Hugs ability to accept the -98/+98 and -h<heap> options.
-
AndyGill authored
Making STG Hugs compile again after the recent RTS checking.
-
Simon Marlow authored
Replace freeze{Char,Int,Word,Float,Double}Array with freezeByteArray (using sizeofByteArray and a foreign import of C's memcpy()).
-