This project is mirrored from https://gitlab.haskell.org/ghc/ghc.git.
Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer.
Last successful update .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer.
Last successful update .
- 17 Feb, 2000 3 commits
-
-
panne authored
Result of my daily DEPRECATED-hour: Now it's possible to use the pragma without harm, but nothing spectacular happens yet, only the usual renamer checks (duplication, var in scope).
-
simonmar authored
clean up: some parallel stuff had escaped from #ifdef PAR (Hans???)
-
simonmar authored
sync with reality slightly.
-
- 16 Feb, 2000 2 commits
- 15 Feb, 2000 4 commits
-
-
panne authored
First steps towards DEPRECATED before Rosebank (12yrs) takes its toll. Nothing very functional yet, but at least hsc can be compiled and it still compiles the Prelude. Parsing the pragma turned out to be a little bit more complicated than expected, here the comment from Parser.y: The place for module deprecation is really too restrictive, but if it was allowed at its natural place just before 'module', we get an ugly s/r conflict with the second alternative. Another solution would be the introduction of a new pragma DEPRECATED_MODULE, but this is not very nice, either, and DEPRECATED is only expected to be used by people who really know what they are doing. :-) Net result: Module deprecation is allowed exactly behind the module's name and nowhere else. I probably have to think a little bit more about this some day...
-
sewardj authored
Implement CONST_INT_big and CONST_ADDR_big.
-
sewardj authored
Backend interop fixes: -- Make Hugs use the same constructor tag numbering as GHC, viz, starting at zero. -- Evaluator.c: when unwinding the stack on entering a constructor, return to the scheduler if a RET_{VEC_}{SMALL|BIG} is found on the stack.
-
sewardj authored
In hugsprimRunIO_toplevel, use catchException instead of catch. At least exceptions can then be caught, although Hugs then goes on to die with an assertion failure in unblockAsyncExceptionszh_ret_entry, probably caused by wrongly entering it twice in immediate succession.
-
- 14 Feb, 2000 9 commits
-
-
sewardj authored
Build parser/ctypes.o with $(HC), not $(CC).
-
sewardj authored
wibble
-
sewardj authored
cosmetic wibbles
-
sewardj authored
Remove fromDouble from class Fractional, and make it standalone. This matches GHC. I don't think this is strictly necessary, but Hugs refers to fromDouble during desugaring and I prefer to avoid possible mishaps.
-
sewardj authored
Paranoia: barf if enterBCO_primop1 or enterBCO_primop2 are called in combined mode (since GHC should handle all primops in that case).
-
sewardj authored
Add a debugging version of the mini-interpreter for Hugs.
-
sewardj authored
Tart up printStackChunk a bit./
-
sewardj authored
initStorage: remove #ifdef COMPILER around call to mp_set_memory_functions.
-
sewardj authored
PUSH_N for 0 regs available: also push stack tag to aid debugging
-
- 11 Feb, 2000 2 commits
- 10 Feb, 2000 2 commits
- 09 Feb, 2000 2 commits
-
-
lewie authored
Misc. fixes to implicit parameters support.
-
sewardj authored
More bug fixes resulting from trying to load small programs into Hugs using the GHC Prelude: -- Better handling of kinds on class method types. It's still a kludge (I reckon) but works well enough to correctly handle methods in Monad and Functor. See comment in startGHCClass() in interface.c. -- Add hugsprimReadField and hugsprimShowField. -- Make error be exported from the Prelude. For some reason, PrelErr.hi doesn't give a signature for error, so we have to fake it by copying that of hugsprimError. -- Handle fixity declarations read from interfaces. -- Set nameListMonad so that list comprehensions can be translated.
-
- 08 Feb, 2000 3 commits
-
-
sewardj authored
-- finishGHCClass(): fill in the .number fields for members in the correct order. -- Let nullary constructors be called via their _closure labels so they don't get heap-allocated.
-
sewardj authored
Add hugsprimError, hugsprimCompAux.
-
sewardj authored
Many bug fixes for object loading: -- create class symbol table entries more correctly -- find GHC-created info tables for names which are constructors -- add debugging machinery: :d <entity> and symbol-table printers
-
- 07 Feb, 2000 1 commit
-
-
simonmar authored
I'm utterly bemused, but it seems that someone called simonpj disabled the virtual timer in rev 1.25: + #if 0 /* tmp--SDM */ initialize_virtual_timer(TICK_MILLISECS); + #endif and tried to blame it on me by putting my name in the comment :-) (Simon - perhaps you copied this file out of my working tree and committed it by mistake or something?)
-
- 04 Feb, 2000 6 commits
-
-
sewardj authored
Remove various -fvia-Cs, leaving the minimal required set (4 of them).
-
sewardj authored
GSQRT, GSIN, GCOS, GTAN: if result size is float (as opposed to double), truncate the result to that length by writing it into memory and getting it back again (duh!), since that's what gcc does.
-
lewie authored
Fix a subtle bug in overlapping instances where a generic instance is sometimes chosen rather than a more specific one. See discussion at top of InstEnv for details.
-
sewardj authored
startGHCClass(): set the .dsels (superclass dsels) field.
-
simonmar authored
Fix bug #2 in unregisterised RTS: forceIO had the same problem as catch#. This bug has been here for a long time, not sure why we haven't noticed it before. Jules: that should get you back on the road.
-
simonmar authored
Fix bug #1 in the unregisterised RTS: Now that catch# is a fully-fledged IO operation, it has to respect the return convention for IO, in particular if we don't have an R1 (eg. when unregisterised) then the return value goes on the stack. The return convention could be better, after all we use R1 when returning normal values, but I'll just fix it for now.
-
- 03 Feb, 2000 4 commits
-
-
sewardj authored
Fix x86 NCG so the compiler can compile itself `-O': -- Implement fake x86 insn GITOD/GITOF. -- Implement primops ReadMutVarOp and WriteMutVarOp. -- Pro tem, disable use of %eax as a spill temp. -- Clarify wording of Rules of the Game comment in MachCode.
-
sewardj authored
Remember all the classes loaded from an object file group, and call visitClass on them at the end of processInterfaces(), so that the .level numbers on the class get calculated.
-
sewardj authored
Add hugsprimPmFail.
-
sewardj authored
-- Make default defaults work in combined mode -- rename some fns in lib/Prelude.hs to match names in HugsPrel.lhs
-
- 02 Feb, 2000 1 commit
-
-
sewardj authored
trivialCode on x86 is the heart of instruction selection for expressions. It is definitely a non-trivial in complexity. To generate correct code it needs to observe preserve several delicate invariants, but didn't. -- Recorded in MachCode.lhs the "Rules of the Game"; ie what I think the required invariants are. -- Completely rewrote trivialCode (also shift_code). I think it should handle all cases correctly, and has special treatment for literal operands. -- Updated NOTES file to record issues which need to be resolved before x86 nativeGen can be considered ready for public use.
-
- 01 Feb, 2000 1 commit
-
-
sewardj authored
Export findReservedRegs for all architectures.
-