- 22 Aug, 2019 4 commits
-
-
Tobias Decking authored
While avoiding #16943.
-
James Foster authored
This commit adds documentation on Hadrian's 'Expr' type and references the documentation in hadrian/README.md
-
Sylvain Henry authored
-
Ben Gamari authored
-
- 19 Aug, 2019 5 commits
-
-
Ben Gamari authored
-
Richard Lupton authored
-
Richard Lupton authored
-
Richard Lupton authored
-
Richard Lupton authored
-
- 18 Aug, 2019 5 commits
-
-
Ömer Sinan Ağacan authored
We now do a shallow closure check on objects in compact regions. See the new comment on why we can't do a "normal" closure check.
-
Sam Halliday authored
-
Ryan Scott authored
`TcTyClsDecls.tcFamDecl1` was using `NotInjective` when creating data family type constructors, which is just plain wrong. This tweaks it to use `Injective` instead. Fixes #17067.
-
Ömer Sinan Ağacan authored
-
Sylvain Henry authored
Make `exactLog2` faster (use `countLeadingZeros` and Int32 bit-ops). On my Core i7-9700k Criterion reports ~50% speedup (from 16 to 8ns).
-
- 16 Aug, 2019 4 commits
-
-
Ömer Sinan Ağacan authored
-
Sylvain Henry authored
`quot` and `rem` are implemented efficiently when the second argument is a constant power of 2. This patch uses the same implementations for `quotRem` primop.
-
Tobias Dammers authored
-
Tobias Dammers authored
-
- 15 Aug, 2019 1 commit
-
-
James Foster authored
These kinds of imports are necessary in some cases such as importing instances of typeclasses or intentionally creating dependencies in the build system, but '-Wunused-imports' can't detect when they are no longer needed. This commit removes the unused ones currently in the code base (not including test files or submodules), with the hope that doing so may increase parallelism in the build system by removing unnecessary dependencies.
-
- 14 Aug, 2019 3 commits
-
-
Richard Eisenberg authored
Fixes #16509. See Note [Not-necessarily-lifted join points] in ByteCodeGen, which tells the full story. This commit also adds some comments and cleans some code in the byte-code generator, as I was exploring around trying to understand it. (This commit removes an old test -- this is really a GHCi problem, not a pattern-synonym problem.) test case: ghci/scripts/T16509
-
Andreas Klebinger authored
The later caused issues on windows by being translated into "\\dev\\null" and python then trying to open this non-existant file. So we now use os.devnull inside python and convert it to "/dev/null" when calling out to the shell, which is bound to run in a unix like environment. This fixes an issue a test producing unexpected stderr output failed with a framework failure instead of showing a diff of the output.
-
Andreas Klebinger authored
We used to serialise large integers as strings. Now they are serialized as a list of Bytes. This changes the size for a Integer in the higher 64bit range from 77 to 9 bytes when written to disk. The impact on the general case is small (<1% for interface files) as we don't use many Integers. But for code that uses many this should be a nice benefit.
-
- 13 Aug, 2019 2 commits
-
-
Tamar Christina authored
-
Sebastian Graf authored
The `UniqDFM` is deterministic, of course, while we provide an unsafe `NonDetUniqFM` wrapper for `UniqFM` to opt into nondeterministic instances.
-
- 10 Aug, 2019 4 commits
-
-
Ömer Sinan Ağacan authored
This does not make any changes in the contents -- formatting only. Previously the comments were too noisy and I've always found it very hard to read. Hopefully it's easier to read now.
-
Ömer Sinan Ağacan authored
-
Ben Gamari authored
AndreasK recently mentioned that he thought that interface file loading may be a non-trivial cost. Let's measure.
-
Joachim Breitner authored
`TablesNextToCode` is now a substituted by configure, where it has the correct defaults and error handling. Nowhere else needs to duplicate that, though we may want the compiler to to guard against bogus settings files. I renamed it from `GhcEnableTablesNextToCode` to `TablesNextToCode` to: - Help me guard against any unfixed usages - Remove any lingering connotation that this flag needs to be combined with `GhcUnreigsterised`. Original reviewers: Original subscribers: TerrorJack, rwbarton, carter Original Differential Revision: https://phabricator.haskell.org/D5082
-
- 07 Aug, 2019 12 commits
-
-
Ben Gamari authored
This reverts commit 4e1dfc37. Due to #16943.
-
Ben Gamari authored
-
wz1000 authored
-
mniip authored
-
mniip authored
-
mniip authored
-
mniip authored
-
mniip authored
Supply branch incomps when building an IfaceClosedSynFamilyTyCon `pprTyThing` now has access to incomps. This also causes them to be written out to .hi files, but that doesn't pose an issue other than a more faithful bijection between `tyThingToIfaceDecl` and `tcIfaceDecl`. The machinery for displaying axiom incomps was already present but not in use. Since this is now a thing that pops up in ghci's :info the format was modified to look like a haskell comment. Documentation and a test for the new feature included. Test Plan: T15546 Reviewers: simonpj, bgamari, goldfire Reviewed By: simonpj Subscribers: rwbarton, carter GHC Trac Issues: #15546 Differential Revision: https://phabricator.haskell.org/D5097
-
Ömer Sinan Ağacan authored
We introduce a PlatformWordSize type and use it in platformWordSize field. This removes to panic/error calls called when platform word size is not 32 or 64. We now check for this when reading the platform config.
-
Matthew Pickering authored
I was attempting to load hadrian into ghci by using `cabal new-repl exe:hadrian` but it failed because it tried to use this `.ghci` configuration. I'm not sure who used this script but you should really use the new-repl method.
-
James Foster authored
Shake will be moving from its current implementation of ?== to one from System.FilePattern. Support for `//` is being dropped, leaving only `*` and `**` as special forms. This commit converts the existing file patterns in Hadrian to the new format. It also removes all occurances of <//> and changes the user-settings docs to remove references to // and add **. The conversion is as follows: - //a ==> **/a - a// ==> a/** - a//b ==> a/**/b
-
Simon Peyton Jones authored
-