- Mar 13, 2000
-
-
Simon Marlow authored
Remove duplicate definition of unblockOne.
-
Simon Marlow authored
Reset the interrupted flag after an interruption. This allows finalizers to run, and means that Hugs doesn't get stuck in an interruption loop.
-
- Mar 11, 2000
-
-
sven.panne@aedion.de authored
Saturday Night Fever: hPutBufBA again... >:-(
-
- Mar 10, 2000
-
-
Jeff Lewis authored
Removing backend.h for Julian.
-
Julian Seward authored
Update .c files to reflect reorganisation of .h files in this directory.
-
Julian Seward authored
Major cleanup of header files. Merge the 5 deleted files into connect.h. Organise connect.h to gather declarations into roughtly related categories.
-
Julian Seward authored
Nuke a substantial number of no-longer-supported options.
-
Jeff Lewis authored
First stab at reviving TREX - just fixing some header wibbles. Also one small fix to get implicit parameters working (`textOf' needed to be taught that IPCELLs are also OK). Moved #defines for TREX, IPARAM, etc, into options.h (in their previous location at the end of prelude.h, they were being defined too late).
-
Simon Marlow authored
Fix h{Fill,Put}Buf(BA)?. They now work in the presence of partial/blocking reads and writes, and hPutBuf now doesn't hold on to the handle while it's blocking.
-
Simon Marlow authored
Fix h{Fill,Put}Buf(BA)?. They now work in the presence of partial/blocking reads and writes, and hPutBuf now doesn't hold on to the handle while it's blocking.
-
Julian Seward authored
Compilation cleanups: * Add some prototypes to header files, to avoid compilation warnings. * Remove irrelevant #ifdeffery (#if NPLUSK, + various others)
-
- Mar 09, 2000
-
-
AndyGill authored
Rm debugging printf.
-
AndyGill authored
Wibble: rm needless import Prelude used by Hugs.
-
sven.panne@aedion.de authored
Added some NOINLINE pragmas for unsafePerformIO/newIORef hacks.
-
Simon Peyton Jones authored
Correct bug in local fixity decls (reported by Michael Hudson)
-
sven.panne@aedion.de authored
Changed an #ifdef so that the Prelude can be builit again by GHC.
-
Simon Peyton Jones authored
Add fixity tests
-
sven.panne@aedion.de authored
Removed a typo, i.e. ]\begin{code} => \begin{code}
-
Simon Marlow authored
Disable module initialisation under Hugs until we can sort out the hairy linking issues.
-
AndyGill authored
Porting bug fix from Classic Hugs to STG Hugs. This was causing crashes when compiling large examples. Removing some dead code from static.c
-
Simon Marlow authored
- remove hack which treats '_[A-Z]+' as a constructor token. This isn't required now that everything in interface files is Z-encoded.
-
Simon Marlow authored
syslib data depends on syslib lang.
-
AndyGill authored
improving the synatax and semantics of the privileged import Typical use might be: import Prelude import privileged Prelude ( IORef , unsafePerformIO ) Which means please ignore the export that comes with Prelude, and let me at compiler internal magic operations, IORef and unsafePerformIO (both are later exported by IOExt) I've also updated the stdlib files to use this (hugs only :-).
-
AndyGill authored
Changing use literate programming, to allow hugs to compile this program.
-
AndyGill authored
Changing name of linkPreludeNames to linkPrimitiveNames (cause that is what it does). Adding a Hugs extension "import privileged". This will allow us to remove the many exports from the prelude of the primitive functions and types, but still allow us to write libraries that use it.
-
- Mar 08, 2000
-
-
AndyGill authored
A Prelude where IO is an abstract type, not a synonm. Previously, IO type errors were getting explained in terms of ST RealWorld.
-
AndyGill authored
Adding version of Makefile that looks in the new location for Prelude.hs
-
AndyGill authored
Adding the latest version of the makefile Removing Prelude.hs from the lib dir
-
AndyGill authored
Moved Prelude.hs for STG Hugs to ghc/lib/hugs/Prelude.hs This means that everything in the ghc/interpreter/lib directory is generated. The new makefile for interpreter/lib will be added shortly.
-
Simon Marlow authored
- generalise the per-module initialisation stubs so that we use it in normal (non-profiled) code too. The initialisation stubs are now called '__init_<module>' rather than '_reg<module>'. - Register foreign exported functions as stable pointers in the initialisation code for the module. This fixes the foreign export problems reported by several people. - remove the concept of "module groups" from the profiling subsystem. - change the profiling semantics slightly; it should be unnecessary to use '-caf-all' to get reasonable profiles now.
-
Simon Marlow authored
okToUnfoldInHiFile: look at args of a Con for litlits.
-
Julian Seward authored
Define EXTERN_SYMS_linux for Linux.
-
Simon Marlow authored
Attempt to fix the Sparc version of StgRun. Since RESERVED_STACK_SPACE increased beyond the size of a 13-bit immediate, the Sparc code has been broken. We try to fix this with some imaginative gcc inline assembly constraints. If this breaks again, I'll try recoding it directly in assembler. While I'm here, pull in some of the comments from the old pre-4.00 RTS and add some new comments.
-
- Mar 07, 2000
-
-
Julian Seward authored
Complete the initial implementation and debugging of the Win32 PE (PEi386) linker.
-
Simon Marlow authored
oops, need to define prof_file when DEBUGging too.
-
Simon Marlow authored
Don't GC after a stack overflow. This might have been necessary temporarily, but isn't any more.
-
Simon Marlow authored
Remove duplicate prof_file variable. Heap profiling should work again.
-
Simon Marlow authored
Move the x86 startup code into StgCRun.c, and remove StgRun.S. Although the assembly version was much cleaner, it didn't extend the stack properly in the case when the host architecture requires it to be extended a page at a time (eg. Win32). We now rely on the C compiler to do this properly.
-
Julian Seward authored
Properly fix a sprintf bug in typeInstDefn().
-
AndyGill authored
Fixing a sprintf bug; it was clobering the symbol table. If you used a name for a class and module, the module was not recognised as read.
-