- 07 Jun, 2005 5 commits
-
-
simonmar authored
Remove some non-portable uses of /bin/test, from Christian Maeder.
-
simonmar authored
Various updates and improvements.
-
simonmar authored
-ddump-hi-diffs shouldn't turn off recompilation checking
-
simonmar authored
add filename to some error messages on mingw32
-
simonpj authored
Mention that type splices are not implemented; MERGE to STABLE
-
- 06 Jun, 2005 3 commits
- 03 Jun, 2005 4 commits
-
-
simonmar authored
Allow calls to __alloca in the prologue on mingw32 (previously only allowed for cygwin32, I guess it hasn't happened for a while).
-
simonmar authored
Check for reserved stack space blown.
-
simonmar authored
Profiling doesn't require -fvia-C any more. Also, I optimistically removed -fvia-C from all the other ways except unreg.
-
simonmar authored
Fix crash in LDV profiling on the HEAD
-
- 02 Jun, 2005 2 commits
- 01 Jun, 2005 1 commit
-
-
simonmar authored
Fix a regex bug
-
- 31 May, 2005 4 commits
-
-
simonmar authored
Make more error messages from the downsweep into ErrMsg exceptions.
-
simonmar authored
oops, fix updating the module graph
-
simonmar authored
Fix some reporting of errors in the GHC API: errors during the downsweep were thrown as exceptions; now they're reported via the (Messages->IO ()) callback in the same way as other errors. getModuleInfo no longer prints anything on stdout. It does ignore error messages and return Nothing, however - we should fix this and return the error messages at some point. The ErrMsg type can now be thrown as an exception. This can be a convenient alternative if collecting multiple error messages isn't required. We do this in the downsweep now.
-
simonmar authored
Fix the names of a few fields.
-
- 27 May, 2005 1 commit
-
-
tharris authored
Update STM implementation for SMP builds
-
- 26 May, 2005 1 commit
-
-
simonpj authored
MERGE TO STABLE Put back in a missing case for higher-rank types. When the definition is a) non-recursive b) a function binding c) lacks a type signature we want to *infer* a perhaps-higher-rank type for the RHS, before making a monomorphically-typed Id for the LHS. E.g. f = \(x :: forall a. a->a) -> (x True, x 'c') This case got lost in the transition to 6.4 tc194 tests it
-
- 25 May, 2005 4 commits
-
-
simonmar authored
Fix Linker on Windows: there was one more place where we had to check for ".ctors" sections.
-
simonpj authored
Fix url
-
simonmar authored
something very strange happened with previous commit; try again
-
simonmar authored
Fix threaded RTS with older gcc versions. (merge rev. 1.215.2.10)
-
- 24 May, 2005 8 commits
-
-
simonmar authored
Move RTS_SUPPORTS_THREADS into RtsConfig.h
-
simonmar authored
implement lockClosure properly
-
simonmar authored
isObjectLinkable: don't return True for an empty linkable
-
simonmar authored
If hsc_lang is HscNothing, produce an empty linkable.
-
simonmar authored
Don't write the interface in JustTypecheck mode
-
simonpj authored
Yet another wibble to the GHCi top-level interaction story; avoid dup error messages
-
simonpj authored
typo
-
chak authored
More details about the representation of types after type checking.
-
- 23 May, 2005 7 commits
-
-
simonmar authored
Simplify and improve the Capability-passing machinery for bound threads. The old story was quite complicated: if you find a thread on the run queue which the current task can't run, you had to call passCapability(), which set a flag saying where the next Capability was to go, and then release the Capability. When multiple Capabilities are flying around, it's not clear how this story should extend. The new story is much simpler: each time around the scheduler loop, the task looks to see whether it can make any progress, and if not, it releases its Capability and wakes up a task which *can* make some progress. The predicate for whether we can make any progress is encapsulated in the (inline) function ANY_WORK_FOR_ME(Condition). Waking up an appropriate task is encapsulated in the function threadRunnable() (previously it was in two places). The logic in Capability.c is simpler, but unfortunately it is now more closely connected with the Scheduler, because it inspects the run queue. However, performance when communicating between bound and unbound threads might be better. The concurrency tests still work, so hopefully this hasn't broken anything.
-
simonpj authored
Print only the result of a bind stmt
-
simonmar authored
- scheduleDetectDeadlock() should invoke GarbageCollect() via scheduleDoGC(), which collects the Capabilities first. - scheduleDoGC() doesn't need the Capability. Also, it appears that there was an out-of-bounds array access in here. - add printThreadQueue(), useful from gdb. - fix a couple of warnings.
-
simonpj authored
rename exportsFromAvail
-
simonpj authored
Further GHCi wibbles a) Don't print the value of a 'let' b) Only one error message for 'print id'
-
simonpj authored
Dead code (HEAD only)
-
simonpj authored
Fix what "standard class" means MERGE to STABLE The Report's definition of defaulting (Section 4.3.4) defines a "standard class" to be one defined by the Prelude or a standard library. GHC was omitting the "..or a standard library" part; and it even omitted the Prelude classes Monad and Functor. This commit fixes the bug by adding Random, RandomGen, Monad, MonadPlus, Functor to the classes defined as "standard".
-