Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Whitespace only in utils/GraphColor.hs | Ian Lynagh | 2012-02-26 | 1 | -286/+281 | |
| | ||||||
* | Change -X flags into LANGUAGE pragmas | Ian Lynagh | 2012-02-26 | 5 | -10/+14 | |
| | ||||||
* | Fix warnings in utils/GraphOps.hs | Ian Lynagh | 2012-02-26 | 1 | -7/+31 | |
| | ||||||
* | Whitespace only in utils/GraphOps.hs | Ian Lynagh | 2012-02-26 | 1 | -433/+432 | |
| | ||||||
* | Implement "value" imports with the CAPI | Ian Lynagh | 2012-02-26 | 15 | -31/+88 | |
| | | | | | | This allows us to import values (i.e. non-functions) with the CAPI. This means we can access values even if (on some or all platforms) they are simple #defines. | |||||
* | Fix parsing of FFI import decls | Ian Lynagh | 2012-02-25 | 1 | -3/+11 | |
| | | | | We no longer parse "staticfoo" as "static foo". | |||||
* | Abstract out the hFlush calls in the GHC API | Ian Lynagh | 2012-02-24 | 5 | -10/+28 | |
| | | | | | | stdout/stderr might be closed, so we can't just hFlush them. So we instead allow configuration in the same way that log_action is configurable. | |||||
* | Add x86 implementations of the quotRem, Mul2 and Add2 primops | Ian Lynagh | 2012-02-24 | 1 | -2/+59 | |
| | ||||||
* | Fix generic 2-word-multiply | Ian Lynagh | 2012-02-24 | 1 | -3/+3 | |
| | ||||||
* | Implement 2-word-multiply for x86_64 | Ian Lynagh | 2012-02-24 | 3 | -0/+19 | |
| | ||||||
* | Add a 2-word-multiply operator | Ian Lynagh | 2012-02-24 | 8 | -1/+59 | |
| | | | | Currently no NCGs support it | |||||
* | Add x86_64 support for the add-with-carry op | Ian Lynagh | 2012-02-23 | 1 | -0/+13 | |
| | ||||||
* | Add a Word add-with-carry primop | Ian Lynagh | 2012-02-23 | 16 | -79/+123 | |
| | | | | No special-casing in any NCGs yet | |||||
* | Call expandCallishMachOp in the x86_64 codegen too | Ian Lynagh | 2012-02-23 | 1 | -0/+4 | |
| | | | | | Currently it does nothing, as x86_64 supports all the callishMachOps that expandCallishMachOp expands, but it might be needed in the future. | |||||
* | Update dependencies | Ian Lynagh | 2012-02-22 | 1 | -1/+1 | |
| | ||||||
* | Update dependencies | Ian Lynagh | 2012-02-22 | 3 | -3/+3 | |
| | ||||||
* | Simplified serialization of IfaceTyCon, again | Max Bolingbroke | 2012-02-22 | 6 | -232/+39 | |
| | | | | | | Jose's patch implementing kind-polymorphic core (09015be8d580bc33f5f1960c8e31d00ba7a459a1) reverted many of the simplifying changes to interface file TyCon serialization I had made in a previous patch (5d7173f9ab8405511f75765e0541a04796d9bd07). Based on the diff I think this was an unintended consequence of how Jose did the merge rather than a real change he intended to make. In fact, as a result of kind-polymorphic core we don't need to treat the Any TyCon specially any longer so my old simplifying changes can be made even simpler: IfaceTyCon is now just a newtype on IfaceExtName. | |||||
* | Fix validating with HADDOCK_DOCS=YES | Ian Lynagh | 2012-02-22 | 1 | -8/+9 | |
| | ||||||
* | Remove support for CTYPE pragmas on type synonyms | Ian Lynagh | 2012-02-22 | 14 | -46/+29 | |
| | | | | | | It's not clear whether it's desirable or not, and it turns out that the way we use coercions in GHC means we tend to lose information about type synonyms. | |||||
* | Add a hack to make validating with HADDOCK_DOCS=NO work | Ian Lynagh | 2012-02-21 | 2 | -4/+17 | |
| | | | | | | I've also renamed the bindisttest install directory to contain multiple spaces, so we are also testing that multiple spaces aren't getting collapsed into a single space. | |||||
* | Be stricter about abstract newtypes in FFI declarations again. | Ian Lynagh | 2012-02-21 | 1 | -14/+5 | |
| | | | | This reverts the relaxation in c6b0fd62fc715aa6c666eb8afe09073ac7b87a83 | |||||
* | Show the CType in --show-iface output | Ian Lynagh | 2012-02-21 | 2 | -4/+19 | |
| | ||||||
* | GHC trees no longer include the extensible-exceptions package | Ian Lynagh | 2012-02-21 | 3 | -5/+2 | |
| | ||||||
* | Add a primop for unsigned quotRem; part of #5598 | Ian Lynagh | 2012-02-17 | 9 | -15/+44 | |
| | | | | Only amd64 has an efficient implementation currently. | |||||
* | Small refactor | Ian Lynagh | 2012-02-17 | 1 | -87/+92 | |
| | | | | Moved the default case of genCCall64 out into a separate function | |||||
* | Small refactoring: Use (Maybe Header) rather than FastString | Ian Lynagh | 2012-02-17 | 6 | -30/+40 | |
| | ||||||
* | Add some docs for the CAPI extension | Ian Lynagh | 2012-02-17 | 1 | -0/+35 | |
| | ||||||
* | Allow a header to be specified in a CTYPE pragma | Ian Lynagh | 2012-02-17 | 4 | -30/+46 | |
| | | | | | | | | | | | | | | | | | You can now say data {-# CTYPE "some_header.h" "the C type" #-} Foo = ... I think it's rare that this will actually be needed. If the header for a CAPI FFI import includes a void f(ctype x); prototype then ctype must already be defined. However, if the header only has #define f(p) p->j then the type need not be defined. But either way, it seems good practice for us to specify the header that we need. | |||||
* | Now I understand why Constraint is a sub-kind of ArgKind! | Simon Peyton Jones | 2012-02-17 | 1 | -2/+3 | |
| | ||||||
* | Merge branch 'master' of http://darcs.haskell.org/ghc | Simon Peyton Jones | 2012-02-17 | 23 | -467/+557 | |
|\ | ||||||
| * | Remove unused ghciHandleGhcException | Ian Lynagh | 2012-02-16 | 1 | -5/+0 | |
| | | ||||||
| * | Fix parsing regression in CTYPE patch | Ian Lynagh | 2012-02-16 | 1 | -3/+6 | |
| | | ||||||
| * | Fix the build with GHC < 7.4.1 | Ian Lynagh | 2012-02-16 | 1 | -1/+4 | |
| | | ||||||
| * | Merge branch 'master' of http://darcs.haskell.org/ghc | Ian Lynagh | 2012-02-16 | 38 | -862/+711 | |
| |\ | | | | | | | | | | | | | Conflicts: compiler/types/TyCon.lhs | |||||
| * | | Add FunPtr to the types that toCType knows about | Ian Lynagh | 2012-02-16 | 1 | -3/+4 | |
| | | | ||||||
| * | | Add CType informatino to wired-in types | Ian Lynagh | 2012-02-16 | 1 | -15/+18 | |
| | | | ||||||
| * | | Implement the CTYPE pragma; part of the CApiFFI extension | Ian Lynagh | 2012-02-16 | 21 | -72/+164 | |
| | | | | | | | | | | | | | | | | | | | | | For now, the syntax is type {-# CTYPE "some C type" #-} Foo = ... newtype {-# CTYPE "some C type" #-} Foo = ... data {-# CTYPE "some C type" #-} Foo = ... | |||||
| * | | Whitespace only in types/TyCon.lhs | Ian Lynagh | 2012-02-16 | 1 | -372/+365 | |
| | | | ||||||
* | | | Wibble to sub-kinding | Simon Peyton Jones | 2012-02-17 | 2 | -2/+2 | |
| | | | ||||||
* | | | Fix a missing defaultKind that resulted in lingering ArgKinds | Simon Peyton Jones | 2012-02-17 | 1 | -4/+3 | |
| | | | ||||||
* | | | Fix a nasty bug in the canonicaliser which was failing | Simon Peyton Jones | 2012-02-17 | 1 | -8/+5 | |
| | | | | | | | | | | | | | | | to emit kind constraints when decomposing an application. Resulting code is actually shorter! | |||||
* | | | More simplification of the sub-kinding story | Simon Peyton Jones | 2012-02-17 | 9 | -200/+149 | |
| | | | ||||||
* | | | Implement a typing rule for saturated seq, and document it | Simon Peyton Jones | 2012-02-17 | 2 | -9/+44 | |
| | | | | | | | | | | | | | | | | | | | | | Also add notes about unsafeCoerce The general thread here is to reduce use of ArgKind after the type checker; it is so fragile! | |||||
* | | | Substantially nicer code in record updates | Simon Peyton Jones | 2012-02-17 | 1 | -20/+19 | |
| | | | ||||||
* | | | Make the specialiser understand about polymorphic kinds | Simon Peyton Jones | 2012-02-17 | 1 | -9/+14 | |
| | | | ||||||
* | | | Define TypeVar (like KindVar), isTypeVar, isKindVar, and use them | Simon Peyton Jones | 2012-02-17 | 2 | -16/+37 | |
| | | | | | | | | | | | | This is the start of more global renaming | |||||
* | | | Move sortQuantVars to MkCore | Simon Peyton Jones | 2012-02-17 | 3 | -19/+35 | |
| | | | ||||||
* | | | Kill dead code | Simon Peyton Jones | 2012-02-17 | 1 | -13/+3 | |
| |/ |/| | ||||||
* | | Merge branch 'master' of http://darcs.haskell.org/ghc | Simon Peyton Jones | 2012-02-16 | 3 | -4/+4 | |
|\ \ | |/ | ||||||
| * | add ticket number to comment | Simon Marlow | 2012-02-16 | 1 | -1/+1 | |
| | |