- 28 Sep, 2009 2 commits
-
-
Simon Marlow authored
In decodeFloat_Int# we have the C-- code: mp_tmp1 = Sp - WDS(1); mp_tmp_w = Sp - WDS(2); /* arguments: F1 = Float# */ arg = F1; /* Perform the operation */ foreign "C" __decodeFloat_Int(mp_tmp1 "ptr", mp_tmp_w "ptr", arg) []; /* returns: (Int# (mantissa), Int# (exponent)) */ RET_NN(W_[mp_tmp1], W_[mp_tmp_w]); Which all looks quite reasonable. The problem is that RET_NN() might assign the results to the stack (with an unregisterised back end), and in this case the arguments to RET_NN() refer to the same stack slots that will be assigned to. The code generator should do the right thing here, but it wasn't - it was assuming that it could assign the results sequentially. A 1-line fix to use emitSimultaneously rather than emitStmts (plus comments).
-
Simon Marlow authored
-
- 25 Sep, 2009 1 commit
-
-
Simon Marlow authored
added: primop TraceEventOp "traceEvent#" GenPrimOp Addr# -> State# s -> State# s { Emits an event via the RTS tracing framework. The contents of the event is the zero-terminated byte string passed as the first argument. The event will be emitted either to the .eventlog file, or to stderr, depending on the runtime RTS flags. } and added the required RTS functionality to support it. Also a bit of refactoring in the RTS tracing code.
-
- 27 Sep, 2009 1 commit
-
-
chevalier@alum.wellesley.edu authored
-
- 25 Sep, 2009 1 commit
-
-
Ian Lynagh authored
The docs are no longer built and installed separately.
-
- 27 Sep, 2009 3 commits
-
-
Ian Lynagh authored
-
Ian Lynagh authored
-
Ian Lynagh authored
-
- 26 Sep, 2009 1 commit
-
-
Ben.Lippmeier@anu.edu.au authored
-
- 24 Sep, 2009 1 commit
-
-
Ian Lynagh authored
-
- 21 Sep, 2009 1 commit
-
-
Ian Lynagh authored
-
- 24 Sep, 2009 2 commits
-
-
Ian Lynagh authored
We used to say 10.3, but this gives -rpath can only be used when targeting Mac OS X 10.5 or later when building shared libraries. Patch from mwotton.
-
Ian Lynagh authored
rather than the "second" argument. Fixes trac #3505.
-
- 23 Sep, 2009 8 commits
-
-
Ian Lynagh authored
-
Ian Lynagh authored
-
Ian Lynagh authored
Spotted by Judah.
-
Simon Marlow authored
-
Simon Marlow authored
-
Simon Marlow authored
-
Simon Marlow authored
-
Simon Marlow authored
-
- 20 Sep, 2009 1 commit
-
-
kili authored
Haddock uses TcRnDriver.tcRnGetInfo, which is only available if GHCI is built. Set HADDOC_DOCS to NO if GhcWithInterpreter is NO, and disable the haddock build if HADDOC_DOCS = NO.
-
- 22 Sep, 2009 3 commits
-
-
Ian Lynagh authored
-
Ian Lynagh authored
-
Ian Lynagh authored
-
- 21 Sep, 2009 8 commits
-
-
Ian Lynagh authored
-
Simon Marlow authored
-
Ian Lynagh authored
Cleaning should always succeed now
-
Ian Lynagh authored
Add changes that we inherit from haskeline
-
Ian Lynagh authored
-
Simon Marlow authored
-
Simon Marlow authored
This fixes at least one problem: libHSffi-ghc<version>.so wasn't being cleaned, because $(dyn_libsuf) wasn't defined while cleaning.
-
Simon Marlow authored
-
- 20 Sep, 2009 3 commits
-
-
Ian Lynagh authored
-
Ian Lynagh authored
-
Ian Lynagh authored
-
- 18 Sep, 2009 4 commits
-
-
Simon Marlow authored
-
Simon Marlow authored
-
Simon Marlow authored
-
Simon Marlow authored
-