- Feb 18, 2000
-
-
Simon Marlow authored
Add copyright & Id
-
Simon Marlow authored
Module size wasn't taking into account the data section.
-
- Feb 17, 2000
-
-
Simon Marlow authored
Fitst cut at XML-style profiling logs. Time/allocation profiling only for now, and the new flag '+RTS -px' enables the new log file format.
-
sven.panne@aedion.de 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).
-
Simon Marlow authored
clean up: some parallel stuff had escaped from #ifdef PAR (Hans???)
-
Simon Marlow authored
sync with reality slightly.
-
- Feb 16, 2000
-
-
sven.panne@aedion.de authored
Fixed pretty printing of DEPRECATED
-
sven.panne@aedion.de authored
Fixed pretty printing of RULES
-
- Feb 15, 2000
-
-
sven.panne@aedion.de 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...
-
Julian Seward authored
Implement CONST_INT_big and CONST_ADDR_big.
-
Julian Seward 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.
-
Julian Seward 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.
-
- Feb 14, 2000
-
-
Julian Seward authored
Build parser/ctypes.o with $(HC), not $(CC).
-
Julian Seward authored
wibble
-
Julian Seward authored
cosmetic wibbles
-
Julian Seward 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.
-
Julian Seward authored
Paranoia: barf if enterBCO_primop1 or enterBCO_primop2 are called in combined mode (since GHC should handle all primops in that case).
-
Julian Seward authored
Add a debugging version of the mini-interpreter for Hugs.
-
Julian Seward authored
Tart up printStackChunk a bit./
-
Julian Seward authored
initStorage: remove #ifdef COMPILER around call to mp_set_memory_functions.
-
Julian Seward authored
PUSH_N for 0 regs available: also push stack tag to aid debugging
-
- Feb 11, 2000
-
-
Simon Peyton Jones authored
Add pprFSInCStyle
-
Simon Peyton Jones authored
Add a few functions to Outputable
-
- Feb 10, 2000
-
-
Jeff Lewis authored
Fix a couple of Implicit Param wibbles.
-
Simon Peyton Jones authored
A few comments about RnIfaces.lookupFixity
-
- Feb 09, 2000
-
-
Jeff Lewis authored
Misc. fixes to implicit parameters support.
-
Julian Seward 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.
-
- Feb 08, 2000
-
-
Julian Seward 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.
-
Julian Seward authored
Add hugsprimError, hugsprimCompAux.
-
Julian Seward 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
-
- Feb 07, 2000
-
-
Simon Marlow 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?)
-
- Feb 04, 2000
-
-
Julian Seward authored
Remove various -fvia-Cs, leaving the minimal required set (4 of them).
-
Julian Seward 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.
-
Jeff Lewis 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.
-
Julian Seward authored
startGHCClass(): set the .dsels (superclass dsels) field.
-
Simon Marlow 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.
-
Simon Marlow 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.
-
- Feb 03, 2000
-
-
Julian Seward 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.
-
Julian Seward 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.
-
Julian Seward authored
Add hugsprimPmFail.
-