- 22 Jan, 2002 8 commits
-
-
simonmar authored
More wibbles, sigh. Must have been typing with my elbows when I made that change.
-
simonmar authored
CmRunDeadlocked no longer exists
-
simonmar authored
Fix wibbles in previous commit.
-
simonmar authored
Strip whitespace from the beginning of the line when looking for OPTIONS pragmas.
-
simonmar authored
Deadlock is now an exception instead of a return status from rts_evalIO(). The current behaviour is as follows, and can be changed if necessary: in the event of a deadlock, the top main thread is taken from the main thread queue, and if it is blocked on an MVar or an Exception (for throwTo), then it receives a Deadlock exception. If it is blocked on a BLACKHOLE, we instead send it the NonTermination exception. Note that only the main thread gets the exception: it is the responsibility of the main thread to unblock other threads if necessary. There's a slight difference in the SMP build: *all* the main threads get an exception, because clearly none of them may make progress (compared to the non-SMP situation, where all but the top main thread are usually blocked).
-
simonmar authored
Attempt to fix the problems with missing instances once more. The current problem is that in the case where a ModDetails is being constructed from its interface (in compilation manager modes) we weren't getting any instances because the instances are gotten from the [InstInfo] returned from tcInstDecls1, which only contains *source* instance declarations. Fix: return a list of DFuns defined in the current module from tcInstDecls1, to be plugged into the ModDetails later. Also: revert the previous change to the isLocalThing predicate, because now we really want to know which dfuns come from the current module. The comment about the iface_dfuns containing only package and local instances is incorrect in batch-compile mode, because we also demand-load stuff from home package interfaces, so I deleted this comment and fixed up some of the other commentary.
-
simonmar authored
Fix for a change in CPP's behaviour in gcc 2.96 relative to 2.95. Unlit used to inject '# <line> <file>' at the beginning of the output file, but in gcc 2.96 this is ignored. Instead we have to inject '#line <line> <file>', which in turn means that GHC's lexer has to understand this kind of pragma in addition to the plain '#' form, in the case when we aren't running CPP after unlitting.
-
simonmar authored
Import wibbles
-
- 21 Jan, 2002 2 commits
- 18 Jan, 2002 2 commits
- 17 Jan, 2002 3 commits
- 16 Jan, 2002 1 commit
-
-
chak authored
Added an intro to the workings of the desugarer and details about the pattern matching compiler.
-
- 15 Jan, 2002 1 commit
-
-
sof authored
updates & fixes to hc-bootstrapping story; from Thomas Nordin
-
- 11 Jan, 2002 1 commit
-
-
sof authored
add HSstd{1,2}.o to INSTALL_LIBS (mingw only)
-
- 10 Jan, 2002 3 commits
- 09 Jan, 2002 3 commits
-
-
simonmar authored
First cut at enhancing the facilities for manipulating the scope in GHCi. The scope now consists of 1. the full top-level scope of zero or more interpreted modules 2. the exports from zero or more modules 3. the temporary bindings The sets 1 & 2 are manipulated using an extended :m command: eg :m +A will add module A to either set 1 or two depending on whether A is interpreted, and :m -A will remove it. The user interface may change, pending feedback from the punters on the mailing list. 'Prelude' is automatically added to the scope if set 1 is empty and set 2 doesn't already contain it. We now cache the GlobalRdrEnv for the current scope between evaluations in the InteractiveContext, and also the current PrintUnqualified setting (which also depends on the scope). Cvs: ----------------------------------------------------------------------
-
simonmar authored
Back out previous fix, I've hacked it in a different place which is at least closer to the source of the problem.
-
simonmar authored
Don't add -package-name if $(PACKAGE) == "rts". THis is a HACK and we need to fix the mess in ghc/rts/Makefile properly.
-
- 08 Jan, 2002 10 commits
-
-
simonmar authored
Fix a problem which lead to home-package instances ending up in the package instance table in GHCi, which results in strange duplicate instance errors when reloading modules. See the comments for details.
-
sof authored
Make better use of the -M<size> setting under Win32. Use it to guide the amount of VM to reserve -- the default is (still) 256M, but the user will now have a way of overriding this setting.
-
sof authored
Track PrimOp changes.
-
sof authored
make -split-objs work again
-
sof authored
adjust pointer to the RTS profiling options section
-
sof authored
IS setup: remove HDirect com lib reference; no longer bundled
-
sewardj authored
merge from stable branch: 1.46.4.3 +14 -7 fptools/ghc/compiler/nativeGen/AsmCodeGen.lhs 1.47.4.3 +2 -0 fptools/ghc/compiler/nativeGen/MachMisc.lhs Treat literal appearances of BaseReg in Stix trees uniformly. This is now taken to mean the &MainCapability.r, regardless of whether BaseReg is in a register (x86) or synthesised (sparc).
-
sewardj authored
merge from stable branch, rev 1.34.4.1: Add missing case to magicIdPrimRep.
-
sewardj authored
merge from the stable branch: 1.70.4.2 fptools/ghc/compiler/nativeGen/StixPrim.lhs 1.5.10.3 fptools/ghc/includes/mkNativeHdr.c Track recent changes to HpLim assignment in load_thread_state.
-
chak authored
Some docu covering VarSet, NameSet, VarEnv, and NameEnv.
-
- 07 Jan, 2002 6 commits
-
-
ken authored
Ignore -package-name <package-name> on the command line. MERGE TO STABLE
-
ken authored
On the alpha, __divq() in libc.a clobbers $s6, so StgRun() needs to save $s6. While we are at it, let us save $f8 and $f9 as well. MERGE TO STABLE
-
sof authored
updated
-
sof authored
Convert PrelPosix from a .hsc file into a .hs file (that gets its configuration-time info via config.h).
-
sof authored
remove debugging bits
-
sof authored
added feature tests for a bunch of C types we need to know the Haskell equiv. of
-