1. 10 Jul, 2016 2 commits
    • Alan Zimmerman's avatar
      check-api-annotations utility loads by filename · 9a3df1f8
      Alan Zimmerman authored
      Previously it loaded by modulename, which prevented loading files with a
      Main module.
    • Ben Gamari's avatar
      TysWiredIn: Use UniqFM lookup for built-in OccNames · f53d761d
      Ben Gamari authored
      Previously we would unpack the OccName into a String, then pattern match
      against this string. Due to the implementation of `unpackFS`, this
      actually unpacks the entire contents, even though we often only need to
      look at the first few characters.
      Here we take another approach: build a UniqFM with the known built-in
      OccNames, allowing us to use `FastString`'s hash-based comparison
      Reviewers: simonpj, austin, simonmar
      Reviewed By: simonmar
      Subscribers: thomie
      Differential Revision: https://phabricator.haskell.org/D2385
      GHC Trac Issues: #12357
  2. 09 Jul, 2016 1 commit
  3. 08 Jul, 2016 9 commits
  4. 07 Jul, 2016 8 commits
  5. 06 Jul, 2016 3 commits
  6. 05 Jul, 2016 16 commits
    • Moritz Angermann's avatar
      Adds x86_64-apple-darwin14 target. · f560a03c
      Moritz Angermann authored
      x86_64-apple-darwin14, is the target for the 64bit simulator.
      Ideally, we'd have (i386|armv7|arm64|x64_86)-apple-ios, yet,
      many #ifdefs depend on `darwin`, notably libffi. Hence, this only adds
      x86_64-apple-darwin14 as a target. This also updates the comment to
      add the `-S` flag, and dump the output to stdout; and adjusts the
      `datalayout` and `triple` values, as obtained through the method
      mentioned in the comment.
      Reviewers: hvr, erikd, austin, bgamari, simonmar
      Reviewed By: simonmar
      Subscribers: thomie
      Differential Revision: https://phabricator.haskell.org/D2378
    • Misty De Meo's avatar
      Fix GetTime.c on Darwin with clock_gettime · b7b130c5
      Misty De Meo authored
      On Darwin versions with clock_gettime, #ifdefs will prevent the
      mach-specific time functions from being used in most places, and
      the mach time headers won't be included; however, this section
      was guarded incorrectly and would still try to use them.
      Fixes #12195.
    • niteria's avatar
      Remove varEnvElts · 1b058d4a
      niteria authored
      varEnvElts can introduce unnecessary nondeterminism
      and we can finally remove it, so that no one will use
      it by accident. If someone wants to use varEnvElts they
      should either use DVarEnv or use nonDetEltsUFM and document
      why it doesn't introduce nondeterminism.
      GHC Trac: #4012
    • niteria's avatar
      Kill varEnvElts in zonkEnvIds · 18b782e3
      niteria authored
      This localizes the nondeterminism that varEnvElts could
      have introduced, so that it's obvious that it's benign.
      Test Plan: ./validate
      Reviewers: simonpj, austin, bgamari
      Subscribers: thomie, simonmar
      Differential Revision: https://phabricator.haskell.org/D2390
      GHC Trac Issues: #4012
    • niteria's avatar
      Document codegen nondeterminism · 27fc75b2
      niteria authored
      We don't care about bit-for-bit reproducibility, so
      I'm just documenting this as a possible source.
      GHC Trac: #4012
    • Simon Peyton Jones's avatar
      Test Trac #12133 · 6cedef01
      Simon Peyton Jones authored
    • Simon Peyton Jones's avatar
      White space only · f2d36ead
      Simon Peyton Jones authored
    • Simon Peyton Jones's avatar
      Tidy up tidying · cbe30fda
      Simon Peyton Jones authored
      This is a tiny refactor, replacing an ad-hoc local function
      (TidyPgm.loookup_aux_id) with a solid global one (tidyVarOcc).
    • Simon Peyton Jones's avatar
      Make unique auxiliary function names in deriving · 895eefa8
      Simon Peyton Jones authored
      In deriving for Data, we make some auxiliary functions, but they
      didn't always get distinct names (Trac #12245).  This patch fixes
      it by using the same mechanism as for dictionary functions, namely
      Some assocated refactoring came along for the ride.
    • Simon Peyton Jones's avatar
      Delete out-of-date comment · 5f79394f
      Simon Peyton Jones authored
    • niteria's avatar
      Use DVarEnv for vectInfoVar · 55e43a6f
      niteria authored
      This makes sure that we don't introduce unnecessary
      nondeterminism from vectorization.
      Also updates dph submodule to reflect the change in types.
      GHC Trac: #4012
    • Simon Peyton Jones's avatar
      Extra ASSERTs for nameModule · 1267048e
      Simon Peyton Jones authored
    • Simon Peyton Jones's avatar
      Check generic-default method for ambiguity · 85aa6ef0
      Simon Peyton Jones authored
      Fixes Trac #7497 and #12151.   In some earlier upheaval I introduced
      a bug in the ambiguity check for genreric-default method.
      This patch fixes it.  But in fixing it I realised that the
      sourc-location of any such error message was bogus, so I fixed
      that too, which involved a slightly wider change; see the
      comments with TcMethInfo.
    • niteria's avatar
      Kill some varEnvElts · e10497b9
      niteria authored
      I was able to hide the nondeterminism in some specialized
      function, which I believe will be useful in other places.
      GHC Trac: #4012
    • Simon Marlow's avatar
      Revert "Linker: some extra debugging / logging" · 890ec98c
      Simon Marlow authored
      This reverts commit 63777579.
    • Simon Marlow's avatar
      Revert "Fix 32-bit build failures" · 18e71e46
      Simon Marlow authored
      This reverts commit 01f449f4.
  7. 04 Jul, 2016 1 commit