- 14 Jul, 2000 2 commits
-
-
simonpj authored
This commit completely re-does the kind-inference mechanism. Previously it was inter-wound with type inference, but that was always hard to understand, and it finally broke when we started checking for ambiguity when type-checking a type signature (details irrelevant). So now kind inference is more clearly separated, so that it never takes place at the same time as type inference. The biggest change is in TcTyClsDecls, which does the kind inference for a group of type and class declarations. It now contains comments to explain how it all works. There are also comments in TypeRep which describes the slightly tricky way in which we deal with the fact that kind 'type' (written '*') actually has 'boxed type' and 'unboxed type' as sub-kinds. The whole thing is a bit of a hack, because we don't really have sub-kinding, but it's less of a hack than before. A lot of general tidying up happened at the same time. In particular, I removed some dead code here and there
-
simonpj authored
Remove dead code
-
- 13 Jul, 2000 7 commits
-
-
simonmar authored
Take the README for a binary dist from the project directory, not fptools.
-
simonmar authored
update, and make less GHC-specific
-
simonmar authored
update to match reality; try to be a bit more helpful
-
sewardj authored
Zap yet another bogon in x86 floating args to ccalls.
-
michaelw authored
more changes to FPTOOLS_GHC_VERSION: * fixed bug in too-many-args case * reworked regexp for versions
-
sewardj authored
sparc NCG is now enabled by default for non-opt compilation.
-
sewardj authored
Reg needs to be imported non-abstractly for sparc.
-
- 12 Jul, 2000 2 commits
- 11 Jul, 2000 20 commits
-
-
michaelw authored
added Debian location to DocBook catalog test
-
michaelw authored
typo
-
michaelw authored
updated comments
-
panne authored
Hash MachLabel, too
-
panne authored
Replace RcFloating with RcFloat/RcDouble. I'm not exactly sure what I'm doing here, so somebody else should better have a look.
-
panne authored
* linux_TARGET_ARCH => i386_TARGET_ARCH * move callClobberedRegs into safety in front of the register #define-orgy (what the ... is this cpp-ery for? %-]
-
simonmar authored
reinstate used import
-
simonmar authored
remove unused imports
-
simonmar authored
remove unused imports
-
simonmar authored
remove unused imports
-
simonmar authored
remove unused imports; misc cleanup
-
simonmar authored
remove unused imports; misc cleanup
-
simonmar authored
remove unused imports
-
simonmar authored
use MachLabel rather than MachLitLit for compiling foreign label and foreign export dynamic.
-
simonmar authored
fix typo
-
simonmar authored
undo what appears to be an accidental commit
-
sewardj authored
Fix up the sparc native code generator. Mostly dull stuff. Notable changes: * Cleaned up ccall mechanism for sparc somewhat. * Rearranged assignment of sparc floating point registers (includes/MachRegs.h) so the NCG's register allocator can handle the double-single pairing issue without modification. Split VirtualRegF into VirtualRegF and VirtualRegD, and split RcFloating into RcFloat and RcDouble. Net effect is that there are now three register classes -- int, float and double, and we pretend that sparc has some float and some double real regs. * (A fix for all platforms): propagate MachFloats through as StFloats, not StDoubles. Amazingly, until now literal floats had been converted to and treated as doubles, including in ccalls.
-
rrt authored
Test completed, file deleted.
-
simonmar authored
New autoconf tests for ghc version from Michael Weber, with minor modifications by me.
-
simonmar authored
workaround for strange gcc-ism: elide 'popl %edx' in the epilogue.
-
- 10 Jul, 2000 2 commits
- 09 Jul, 2000 3 commits
-
-
panne authored
Third attempt by two people trying to get a simple fprintf right again... :-}
-
panne authored
Install HsStd.h, stgio.h, stgerror.h, and fileObject.h, too. Hmmm, this looks not particularly nice, perhaps we should merge those into a single HsStd.h some day.
-
panne authored
By definition (sec. 7.3 in the H98 report), userError raises an IOError, so Prelude.catch should catch UserError exceptions, too. Apart from not conforming to the report, without this patch GHC's typechecker falls straight on its face.
-
- 08 Jul, 2000 4 commits
-
-
panne authored
Synched section on packages with new generalized package file format
-
panne authored
Generalized the package file format a little bit: include directories, include files, and options are now lists of Strings.
-
panne authored
After the last fix in PprAbs.ppr_amode, we now need a cast from StgClosure* to P_ in UPD_FRAME_UPDATEE. I'm not sure if this is the nicest way to fix this, CgCon.cgReturnDataCon is another candidate. It looks a little bit like PrimRep distinguishes not enough between the different kind of pointers (there's no alternative for L_).
-
panne authored
Fixed Show instance for Exception
-