- 08 Jan, 2003 1 commit
-
-
simonmar authored
Update the documentation on --make mode to indicate that multiple sources/modules can be given on the command line, as well as multiple object files. MERGE TO STABLE
-
- 07 Jan, 2003 5 commits
-
-
simonmar authored
80-columnify a comment
-
simonmar authored
Update comments
-
simonmar authored
Simplify the bitmap-generating code by collecting all the pointer words rather than all the non-pointer words, and then subtracting these from a bitmap made of all ones. This is simpler because we only have to look in the bindings, rather than combining information from bindings and the free stack slot list.
-
simonmar authored
Expand bitmaps to cover the full size of the stack frame. Previously the bitmap would stop at the last non-zero bit, which might shorten the bitmap by one or more words. The behaviour used to be correct, but with the eval/apply changes bitmaps must now cover the entire stack frame rather than everything up to the last non-pointer word.
-
simonmar authored
Declare stg_BCO_entry. (this should have been committed with rev. 1.4 of utils/genapply/GenApply.hs).
-
- 06 Jan, 2003 12 commits
-
-
simonpj authored
-------------------------------------------------------------- Several small but tiresome things shown up by Template Haskell -------------------------------------------------------------- 1. Make the 'knot' in TcRnDriver much smaller; in fact move it to TcIfaceSig.tcInterfaceSigs. Reasons a) much tidier b) avoids a loop in Template Haskell, when we try to run an expression during type checking (when the knot is not fully tied) See comments in TcIfaceSig 2. Stop typechecking if tcGroup fails. Reason: otherwise tcLookup can fail in the next group. 3. Catch linking errors more gracefully when running a splice (in TcSplice)
-
simonpj authored
Small extra tc-trace
-
simonpj authored
Make HscMain.compileExpr run lint if -dcore-lint is on
-
simonpj authored
1. Arrange that -ddump-tc-trace will print out the exception caught by tryTc 2. Make forkM a bit quieter, unless -ddump-tc-trace is on.
-
simonpj authored
Spelling
-
simonpj authored
dieWith uses ProgramError, not UsageError
-
simonpj authored
--------------------------------------------- Try slightly more aggressive rule application --------------------------------------------- Switch on AlwaysActive rules even in SimplGently. This should make some TH programs a little better, but it's not a big deal.
-
simonpj authored
-------------------------------- Make ModLocation have a FilePath instead of (Maybe FilePath) for the object-file location -------------------------------- This generally tides things up, and makes ml_obj_file more like ml_hi_file. Furthermore the ml_obj_file field gets filled in even when we initially expect just an .hi file. This is important for Template Haskell.
-
simonmar authored
Disable the version check on the .hi file for --show-iface. This means that it can be used on .hi files for other "ways" (eg. profiled) without having to resort to using the undocumented -buildtag option.
-
simonmar authored
Add a handy hint for finding the correct fully-qualified original names for entities in .hi-boot files.
-
simonmar authored
The FUN application code is wrong when entering a BCO, because the BCO entry code assumes a stack-only calling convention. Use the PAP entry code instead, which also uses a stack-only convention.
-
simonmar authored
Prefix a double-underscore to a variable in a macro, to avoid conflicts.
-
- 04 Jan, 2003 1 commit
-
-
wolfgang authored
Darwin: Replace "g" constraint by "r" in inline assembly, otherwise it won't compile without -O
-
- 27 Dec, 2002 5 commits
-
-
panne authored
Imports cleanup
-
panne authored
Nuked prototype for non-existent function 'RevertCAFs'. Even if this should be the same as ghc/rts/Storage.h's 'revertCAFs', it would still be a strange place...
-
panne authored
-#include cleanup. What we really need here are additional prototypes for 'getAllocations' and 'revertCAFs', but these are only available via RTS headers. I'm not sure if -#including them somehow would be OK, so I left this out. A few lines of documentation who is allowed to #include (or -#include) what would be helpful...
-
panne authored
* Fixed non-Mac-OS-X-builds * Warning police: Fixed #includes
-
panne authored
Warning police: #undef SymX_redirect before it gets redefined. :-P
-
- 26 Dec, 2002 2 commits
- 23 Dec, 2002 1 commit
-
-
simonmar authored
Add the #includes from the rts package to the stub .c file. Prior to rev. 1.42, we used to add all the #includes from all enabled packages, together with any -#include options from the command-line. But since this is auto-generated code and we know exactly which #includes are required, this was overkill. In rev. 1.42, all #includes except RtsAPI.h were removed from the stub .c file. This was incorrect, because the stub file refers to some entities defined in other RTS header files (the StgStablePtr type, and deRefStablePtr() for example). This change adds the header files from the rts package to the stub .c file, fixing some recent test breakages.
-
- 20 Dec, 2002 1 commit
-
-
ross authored
Add more M4 quoting (required by autoconf 2.57)
-
- 19 Dec, 2002 12 commits
-
-
wolfgang authored
Un-break for Mac OS X (handling of Apple's "frameworks")
-
panne authored
Warning police (labels at end of compound statements are uncool, GCC says...)
-
panne authored
Use a less uncool way to avoid spurious warnings
-
panne authored
Fixed #ifdefery for GCC >= 3.x
-
simonmar authored
GHCi needs to link in packages eagerly if they're specified on the command line.
-
simonmar authored
Terrible hack to restore CAF handling behaviour in GHCi (it's currently broken). The story used to be this: in newCAF(), if the CAF is in dynamically loaded code, then we save the CAF's info ptr in a spare slot in the closure, and add the CAF to the caf_list. The GC will retain everything on the caf_list. At any point the CAFs can all be reverted by replacing their info pointers from the saved copies. CAFs need to be retained for GHCi because they might be required in a future execution; an optimisation would be to avoid retaining the CAFs if we're in "revert mode"; i.e. the CAFs are all going to be reverted after execution anyway. Also, this only applies to CAFs in compiled code; CAFs in interpreted code are currently always retained. Anyway, the old story is harder now that I removed the code that checks whether a pointer is dynamically loaded or not (:-)). Rather than re-instate that code, I created a new version of newCAF (newDynCAF), and arranged that the dynamic linker redirects any references to newCAF to point to newDynCAF instead. The result is more efficient than before, and takes less code.
-
simonmar authored
Include a static version of deRefStablePtr in case the code that uses it was compiled without optimisation (and therefore doesn't get the inlined version).
-
simonmar authored
comment wibble
-
simonmar authored
Make this compile again
-
simonmar authored
Freshly generated by autoheader.
-
simonmar authored
Using AC_CHECK_FUNCS rather than AC_CHECK_FUNC seems to allow autoheader to pick up HAVE_LCHOWN. Don't know why.
-
simonmar authored
- remove unused CODE_BEFORE_DATA - remove duplicate symbols - kill extra whitespace - add missing HAVE_FRAMEWORK_HASKELLSUPPORT and HAVE_IN_ADDR_T
-