- 24 Apr, 2005 4 commits
- 23 Apr, 2005 4 commits
-
-
simonmar authored
Fix comment
-
panne authored
ATTENTION: Make it compile again, but only via a wild and probably wrong guess which might break GHCi. SimonM, please have a look at this. (Who broke it should fix it! :-)
-
sof authored
tweak to handle ghc-6.1 compilation. Merge to STABLE
-
sof authored
added ghc_ge_602. Merge to STABLE
-
- 22 Apr, 2005 23 commits
-
-
simonmar authored
Don't split in here
-
simonmar authored
Fix a comment
-
simonmar authored
enable splitting on x86_64
-
simonmar authored
splitting support on x86_64
-
simonmar authored
fix uses of stderr
-
sof authored
Switch to a manual-reset event for the completed-console-event object; with auto-reset, we ran the risk of leaving it in a signalled state. Merge to STABLE.
-
sof authored
Switch away from using _spawnv() to CreateProcess(); the former has the annoying 'feature' that it quits upon Ctrl-C, leaving its child in the background. Use CreateProcess() instead and avoid the Ctrl-C issue by having the wrapper let go of its console before waiting for the sub-process running GHCi to exit. This still doesn't fix the issue of Ctrl-C handling when the 'ghci' wrapper is invoked from a cygwin-based bash. cmd.exe users will hopefully see an improvement in behaviour though. Merge to STABLE.
-
sof authored
[mingw only] Better handling of I/O request abortions upon throwing an exception to a Haskell thread. As was, a thread blocked on an I/O request was simply unblocked, but its corresponding worker thread wasn't notified that the request had been abandoned. This manifested itself in GHCi upon Ctrl-C being hit at the prompt -- the worker thread blocked waiting for input on stdin prior to Ctrl-C would stick around even though its corresponding Haskell thread had been thrown an Interrupted exception. The upshot was that the worker would consume the next character typed in after Ctrl-C, but then just dropping it. Dealing with this turned out to be even more interesting due to Win32 aborting any console reads when Ctrl-C/Break events are delivered. The story could be improved upon (at the cost of portability) by making the Scheduler able to abort worker thread system calls; as is, requests are cooperatively abandoned. Maybe later. Also included are other minor tidyups to Ctrl-C handling under mingw. Merge to STABLE.
-
sof authored
oops;supposed to have been included with revert-back-to-__stginit-for-mingw commit
-
sof authored
resetStaticObjectForRetainerProfiling(): warning wibble
-
sof authored
Until the GHCi linker is made capable of handling .ctors sections in PEi object files, stick with __stginits. Being a bit sloppy by using 'mingw32_HOST_OS' to test for this.
-
simonmar authored
Fix creation of raise_info closures: they're THUNKs
-
simonmar authored
evacuate(): fix THUNK case
-
simonmar authored
checkSanity: fix bug in nursery checking
-
simonmar authored
SAVE_EVERYTHING: for some reason we used R10.w rather than R10 in this macro, which just broke with the change to the C backend.
-
simonmar authored
- Now that labels are always prefixed with '&' in .hc code, we have to fix some sloppiness in the RTS .cmm code. Fortunately it's not too painful. - SMP: acquire/release the storage manager lock around atomicModifyMutVar#. This is a hack: atomicModifyMutVar# isn't atomic under SMP otherwise, but the SM lock is a large sledgehammer. I think I'll apply the sledgehammer to the MVar primitives too, for the time being.
-
simonmar authored
rtsSupportsBoundThreads, isThreadBound: these should return rtsTrue for SMP too.
-
simonmar authored
pprLit: when printing a CLabel, prefix it with '&'. This ensures we get the address rather than the value, in the case when the C label refers to a variable (as might be the case if it is from a foreign import, for example).
-
simonmar authored
Remove bogus cut-n-pasted comment
-
simonmar authored
SMP: the rest of the changes to support safe thunk entry & updates. I thought the compiler changes were independent, but I ended up breaking the HEAD, so I'll have to commit the rest. non-SMP compilation should not be affected.
-
simonmar authored
Add a comment about possible improvement to the THUNK_SELECTOR algorithm, from discussion with Ian Lynagh
-
simonmar authored
Various fixes to ghcprof, from Christian Maeder <maeder@tzi.de>. Thanks!
-
simonpj authored
Fix hi-boot interface-finding code
-
- 21 Apr, 2005 3 commits
-
-
simonmar authored
SMP: thunks get an extra header word so that the payload doesn't occupy the same space as the updated value. This is the sum total of the changes to compiler/, which are pleasingly few.
-
simonmar authored
Allow args to be passed to GHC from runghc syntax: runghc [-f GHCPATH] [GHC-ARGS] FILE ARG...
-
simonmar authored
ghcprof is a perl script, not a binary
-
- 20 Apr, 2005 4 commits
-
-
simonmar authored
Remove bogus code: the mutable list does not need to be rebuilt during compaction. It just needs to be updated, which is already happening. (fixes crashes in compacting collection; I think a different fix is required for STABLE, though)
-
simonmar authored
Update to match ClosureTypes.h
-
simonmar authored
remove gaps in the closure type sequence, and add a big warning comment
-
krasimir authored
modInfoExports, TypecheckedSource and ParsedSource are exported. Added modInfoPrintUnqualified function.
-
- 19 Apr, 2005 2 commits