- 20 Mar, 2002 3 commits
- 19 Mar, 2002 2 commits
-
-
simonpj authored
Unravel accidental module loop (sorry)
-
simonmar authored
Fix 64-bit shift operations. - Move the declarations of the 64-bit "primops" from PrimOps.h to HsBase.h where they more properly belong. - change the names of the 64-bit shift ops to include the "unchecked" prefix - add checked versions of these primops to GHC.Int and GHC.Word, and use them. - update the FFI declarations in GHC.Int and GHC.Word while I'm there.
-
- 18 Mar, 2002 10 commits
-
-
simonpj authored
More on linear implicit params
-
simonpj authored
Tidier printing routines for Rules
-
simonpj authored
Remove spurious ? in linear implicit parameter printing
-
simonpj authored
Fix grevious bug in linear implicit parameter splitting for free Insts
-
simonpj authored
Splittable class comes from GlaExts now
-
simonmar authored
PrelGHC ==> GHC.Prim, for what it's worth (this documentation is quite out of date).
-
simonmar authored
PrelGHC ==> GHC.Prim (comments only)
-
simonmar authored
PrelGHC ==> GHC.Prim (in comments only)
-
simonmar authored
PrelGHC ==> GHC.Prim
-
simonmar authored
update mention of PrelGHC
-
- 15 Mar, 2002 2 commits
- 14 Mar, 2002 10 commits
-
-
simonmar authored
No need to compile Printf.lhs with -fvia-c now.
-
simonmar authored
The foreign declaration for snprintf was wrong, because we need to give the type of the C function after applying C's type promotion rules. Hence the Float argument should be a Double, because it occurs in the vararg section of the function type.
-
simonmar authored
Back out previous fix, it was wrong.
-
simonmar authored
Misc cleanup: remove the iface pretty-printing style, and clean up bits of StringBuffer that aren't required any more.
-
simonmar authored
undo accidental commits
-
simonpj authored
Documentation about type system extensions
-
simonmar authored
Remove the interface file parser, and move .hi-boot parsing into the main parser. The syntax of .hi-boot files is now greatly improved in terms of readability; here's an example: module M where data T f :: T -> GHC.Base.Int note that (a) layout can be used (b) there's no explcit export list; everything declared is implicitly exported (c) Z-encoding of names is no longer required (d) Any identifier not declared in the current module must still be quailified with the module which originally defined it (eg. GHC.Base.Int above). We'd like to relax (d), but that will come later.
-
simonpj authored
------------------------ Change GlobalName --> ExternalName LocalName -> InternalName ------------------------ For a long time there's been terminological confusion between GlobalName vs LocalName (property of a Name) GlobalId vs LocalId (property of an Id) I've now changed the terminology for Name to be ExternalName vs InternalName I've also added quite a bit of documentation in the Commentary.
-
simonpj authored
Lots of stuff about external and internal names
-
simonmar authored
Turn "return e" into "return $! e" in several places to improve performance.
-
- 13 Mar, 2002 7 commits
-
-
simonmar authored
Remove -fall-strict
-
simonmar authored
Update the documentation to reflect new commands since 5.02.2: :browse :set args :set prog :show bindings :show modules and the new syntax for :module.
-
simonmar authored
Fix the -fasm/-fvia-C auto-selection again: now we're back to the proper behaviour, namely -fasm is the default unless you specify -O or -fvia-C, but only on arch's that support it. I screwed it up in the previous commit, but it exposed a bug in the NCG so it wasn't all bad :)
-
simonmar authored
Cope with VoidRep fields in a static constructor.
-
simonmar authored
It *is* possible to get VoidRep fields in a constructor, but their representation should be empty (not a zero word).
-
simonmar authored
Fix panic message.
-
simonmar authored
GHC version wibble
-
- 12 Mar, 2002 6 commits
-
-
simonmar authored
Fix a bug in the native code generator's handling of floating-point arguments to ccalls: it wasn't correctly promoting float arguments to doubles. Amazingly this has gone undetected for quite a while. Fixes bug #523996.
-
simonmar authored
Forced commit: note that the previous revision also improved the error message for a compiler stack overflow slightly.
-
simonmar authored
eek! Somehow, I managed to make -fvia-C the default on the HEAD and nobody noticed for two months.
-
simonpj authored
------------------------ Fix a type-invariant bug ------------------------ We need to call Type.mkGenTyConApp from Type.mkAppTy, in case there's a partially applied type synonym. Explanation with Type.mkAppTy. All part of GHC's rather liberal treatment of type synonyms. Shown up by a program from Ralf Laemmel: type Generic i o = forall x. i x -> o x type Id x = x comb :: Generic Id Id Test is typecheck/should_compile/tc149.hs
-
simonmar authored
Add a magic number to the beginning of interface files (0x1face :-) to avoid trying to read old text-style interfaces as binary (the usual result is an attempt to allocate a ByteArray larger than the available memory size and an obscure crash).
-
simonmar authored
If we are in a deadlock situation but there are signal handlers installed, pause() instead of reporting deadlock. One of the signal handlers may allow the process to continue after being triggered. Fixes bug #525772. I've made a half-hearted attempt to clean up the deadlock code in the scheduler, it now looks slightly better.
-