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 .
- 28 Oct, 1999 4 commits
-
-
sof authored
More {-# OPTIONS .. #-} tweaks: handle -#include "..." (where 'handle' == 'ignore'.)
-
sewardj authored
Make platform-specific dynamic loaders add ".so", ".dll" etc to library names, so that f-i decls can be written without them. Modify Prelude accordingly. Remove unused functionality in dynamic.c and make err msgs a bit better.
-
sof authored
Don't warn user of unrecognised options when processing {-# OPTIONS .. #-} pragmas.
-
simonpj authored
More RULES documentation
-
- 27 Oct, 1999 10 commits
-
-
simonmar authored
Use C-style comments instead of assembler comments - the '#' confuses cpp when mkdependC'ing.
-
sof authored
Support for "{-# OPTIONS <opts> #-}" in headers of (de-litted) source files. Currently, only -syslib <foo> and "-fglasgow-exts" settings are picked up from within <opts>. Mildly tested; give it a twirl.
-
sewardj authored
remove debug printing -- wibble
-
sewardj authored
Dot-ify local labels.
-
sewardj authored
universal_call_c_x86_stdcall: assume *I* have been ccall'd, not stdcall'd, so don't clear my own args on return.
-
simonmar authored
reduce block size to 4k
-
simonmar authored
small cleanup; reduce amount of conditionally-compiled stuff
-
simonmar authored
Add way 's', for SMP/PThreads
-
simonmar authored
Junk removal
-
simonmar authored
Fix crashes in re_search. Several other functions in this file need fixing too.
-
- 26 Oct, 1999 5 commits
-
-
sewardj authored
Add foreign import/export implementations for x86 stdcall convention. Make parser notice calling conventions on f-i and f-x declarations, check they are supported on the platform Hugs is compiled on. Pass them all the way through the code generator to the interpreter. Allow f-i/f-x decls to omit the calling convention, in which case ccall is used. Remove calling convention from all such decls in the Prelude so it will work on any platform.
-
sewardj authored
markStablePtrTable: correctly handle case when one stable ptr refers to an indirection to an item referred to directly by a second stable ptr (I think!).
-
sof authored
wibble
-
sof authored
Foreign imports that use ByteArrays now need to be marked as being 'unsafe.'
-
simonmar authored
Fix documentation installing in a binary dist.
-
- 25 Oct, 1999 2 commits
-
-
sof authored
FFI wibble: * disallow the use of {Mutable}ByteArrays in 'safe' foreign imports. * ensure that ForeignObjs live across a _ccall_GC_.
-
andy authored
Adding a axiomatic testing framework library to help test Hugs and GHC libraries. Here is the example for the test of concat. test_concat = testRules "concat" [ do (xss :: [[ALPHA]]) <- var "xss" concat xss <==> foldr (++) [] xss ] xss here ranges over various rendering of list of list, including bottom and lists containing bottom. <==> uses a small piece of compiler/interpreter specifics to allow testing for error "" ... <==> ... error "" ===> Pass
-
- 22 Oct, 1999 5 commits
-
-
sewardj authored
* Completion of foreign import and foreign export for x86 ccall convention. f-i's and f-x's can pass and return Char Int Word Addr StablePtr Float and Double. * Significant cleanups and infrastructure improvements. Characterise functions by (instruction set, calling convention) pair where necessary, since that's what counts. Moved foreign export code into rts/ForeignCall.c. Should now be in a good position to implement x86 stdcall convention.
-
sewardj authored
wibble
-
sewardj authored
Cleanup of the foreign import code. Also allow StablePtrs to be passed back and forth.
-
sof authored
made writeErrString__ f.i. unsafe
-
sof authored
Dotted the i's
-
- 21 Oct, 1999 2 commits
- 20 Oct, 1999 3 commits
-
-
simonmar authored
Micro-optimisation: don't need to test for an empty queue in a BLACKHOLE_BQ, now that we're distinguishing BLACKHOLE and BLACKHOLE_BQ. Shortens the update code by a couple of instructions.
-
sof authored
Back out prev. commit which POSIXified getClockTime() - non-POSIX calls really are superior (better resolution.)
-
andy authored
Adding final diffs between Hugs98 (Jan99) and Hugs98 (Sep99) manually to STG Hugs.
-
- 19 Oct, 1999 9 commits
-
-
andy authored
Adding a generic version of universal call that only works for specific argument patterns. It allows ports to work on the Hugs Prelude immeduately, even if univeral_call_c_<os/specific> is not ported. Also, commented out (longstanding?) bug with incorrect call to setCurrModule.
-
simonmar authored
use PUSH_ON_RUN_QUEUE macro instead of (slightly less efficient) inline version.
-
simonmar authored
ASSERT that the tso link field is empty before pushing it on the end of a queue.
-
sewardj authored
Increase default cutoff limit from 16 to 60. nofib/real/anna won't compile even with this value set to 50. Presumably the same problem afflicts Hugs98-Sept98 ?
-
sewardj authored
Remove debugging export of ST(..), which causes failures in nofib.
-
sewardj authored
Wibble.
-
sewardj authored
Make typeVarsIn non-static since interface.c needs to see it.
-
sewardj authored
Change CFunDescriptor to match new foreign import implementation.
-
sewardj authored
Reimplement back-end for foreign import (calling out). Return to a cleaned-up version of Alastair's callfun.S, wherein an architecture and calling-convention specific piece of assembly code is used to construct arguments and then call the specified function, under the direction of a type descriptor string. Defined an interface to this function (universal_call_c) which I hope will work regardless of 32-or-64 bitness, endianness and calling convention. Current implementation is for x86-linux only.
-