- Dec 03, 1999
-
-
Julian Seward authored
Directory wibbles
-
Jeff Lewis authored
Fergot the booties...
-
Jeff Lewis authored
Basic functional dependency implementation. Most notable change to be aware of is that the datatype `Inst' now has a new constructor `FunDep' used to track functional dependencies. The FunDep predicates are filtered out in tcSimplify* so that they don't escape.
-
- Dec 02, 1999
-
-
Simon Marlow authored
Change the convention for cost-centre labels to be <name>_cc and cost-centre stacks to be <name>_ccs. This makes cost-centre labels more consistent with our other naming conventions, and fixes some problems caused by cost-centre labels being misinterpreted by the mangler. This fixes one cause of profiled programs crashing; if you're seeing this symptom then this patch may help.
-
Simon Marlow authored
"compilation IS required" ===> ""
-
Simon Marlow authored
Relegate the "ignoring heap-size setting option..." messages to -v.
-
Simon Marlow authored
Relegate the 'Out of date: <blah>' messages to -dshow-rn-trace, they don't mean a great deal to the average punter.
-
Simon Marlow authored
The infamous "NOTE: simplifier still going..." message is now protected by #ifdef DEBUG. It doesn't mean much to the average user, and we tend to use DEBUG when hacking anyway.
-
Simon Marlow authored
Only print out the module-version info messages when the -v flag is on. Something-similar-requested-ages-ago-by: Sven Panne
-
Simon Marlow authored
Fix up code to print out the phase & signal number if one of the compilation phases receives a signal. The previous commit accidentally sneaked in a non-working version of this stuff.
-
Simon Marlow authored
add missing #include
-
- Dec 01, 1999
-
-
Simon Marlow authored
disallow case expressions with no alternatives.
-
Simon Marlow authored
Add some tests for the new async exception behaviour.
-
Simon Marlow authored
initialize the blocked_exceptions field of a TSO properly.
-
Simon Marlow authored
Oops, forgot to scavenge the new fields in a TSO. Common up no less than 3 copies of the TSO scavenging code in the process, thus fixing a bug in one of the copies.
-
Simon Marlow authored
Fix the case where we're killing a thread that is blocked on delivering an exception.
-
Simon Marlow authored
Support for blocking & unblocking asynchronous exceptions. - new primops: blockAsyncExceptions#, unblockAsyncExceptions# :: IO a -> IO a - raiseInThread will block if the target thread is currently blocking async exceptions. - async exceptions are currently implicitly blocked inside an exception handler. This decision might be reversed when we have more experience with this stuff. - Move exception-related stuff in the RTS into its own file, Exception.{h,hc}.
-
Simon Marlow authored
Remove empty sections for arch's supported in StgCRun.c.
-
Simon Marlow authored
Alpha fixes.
-
Simon Marlow authored
SMP comment
-
Julian Seward authored
Disable the Mark Jones optimisation for instance decls, since it is incompatible with Hugs.
-
Julian Seward authored
Make <readline/history.h> a requirement for use of libreadline.
-
Julian Seward authored
Add rules so library sources can be obtained from fptools/hslibs.
-
Julian Seward authored
Fix bug in 'deriving Enum' reported by Ralf Hinze: data T = A | B deriving Enum failed, requiring instance Ord T, because code generated for enumFromThen required Ord. We now derive just fromEnum and toEnum, and let the Report's defaults do the rest.
-
- Nov 30, 1999
-
-
Jeff Lewis authored
... and of course these files might come in handy ...
-
Jeff Lewis authored
First bits o' functional dependencies - just the syntax and related datatypes, plus started moving some of the static checks from the renamer (where we don't know about fundeps) to later in the typechecker.
-
Simon Marlow authored
Eliminate warnings for uninitialised srt fields in constructors.
-
Simon Marlow authored
Eliminate some warnings.
-
Simon Marlow authored
Add hslibs to the default $(ProjectsTo{Install,Build})
-
Simon Peyton Jones authored
Allow a for-all type inside a usage annotation: __u - (forall a. type) [This actually simply inolved making rnHsType a bit more permissive.] The particular way this shows up right now is a bug that Keith is working on, but in general it should be legal.
-
- Nov 29, 1999
-
-
Julian Seward authored
Make StgHugs use the same naming scheme as GHC does for class + instance machinery. Add machinery to do Z-encoding/decoding of names extracted from interface files. Make the ELF object loader work again. It seemed to have suffered slight bitrot over the past couple of months. Fix various minor bugs. Track a small change in interface file syntax. Make Printer.c print tagged-unboxed stack sections in a decent way now that Alastair-style stack tags have been abandoned.
-
Julian Seward authored
Implement foreign import dynamic.
-
Simon Peyton Jones authored
Make it so that a class decl generates default method decls for every method, not just for the ones that the user supplies default-methods for. GHC will never call these default-default methods, because when it finds an instance decl with no defn for a method, *and* the class decl doesn't have a user-programmed default method, it whips up a new default method for that instance decl so that the error message is more informative than the default-default method would be. But Hugs isn't so smart, and wants to call something from the class decl. This change required fiddling with more than I expected. Sigh. Simon
-
Keith Wansbrough authored
error.h -> stgerror.h
-
Julian Seward authored
error.h --> stgerror.h
-
Keith Wansbrough authored
This commit adds the new RTS option `-xc', which prints the current cost-centre stack to stderr whenever an exception is raised. This is intended to be a debugging tool, to help trace those "Prelude.head: empty list" errors that are so frustrating to find. `-xc' is only available for programs compiled with -prof, and you probably want -auto as well to get useful information. This is currently experimental; it would be better if it only displayed the info for *uncaught* exceptions, but this is harder to implement. This commit also makes an OFTEL-inspired extension to the RTS option space. Since we've almost run out of options, `-x' is now reserved for `extended' options. `-xc' is the first of these, but that leaves '-x[0-9A-Zabd-wyz]' still to be used! The prefix `-xx' is reserved for future extension.
-
- Nov 26, 1999
-
-
Simon Marlow authored
GHC bits for new library organisation.
-
Simon Marlow authored
rename error.h to stgerror.h
-
Simon Marlow authored
Rename error.h to stgerror.h
-
Simon Marlow authored
slight cleanup
-