summaryrefslogtreecommitdiff
path: root/compiler/utils
Commit message (Collapse)AuthorAgeFilesLines
* Remove Util.{isDarwinTarget,isWindowsTarget}Ian Lynagh2012-08-281-12/+5
|
* Add "Unregisterised" as a field in the settings fileIan Lynagh2012-08-071-0/+1
| | | | | | To explicitly choose whether you want an unregisterised build you now need to use the "--enable-unregisterised"/"--disable-unregisterised" configure flags.
* Whitespace only in UniqFMIan Lynagh2012-08-051-95/+88
|
* Remove pprDefiniteTraceIan Lynagh2012-08-051-5/+1
| | | | | All uses of it are now in an IO Monad, so we don't need to use a trace-like function.
* De-orphan the Outputable Fingerprint instanceIan Lynagh2012-08-052-7/+5
|
* Whitespace only in utils/Outputable.lhsIan Lynagh2012-08-051-9/+9
|
* De-orphan the Outputable Char instanceIan Lynagh2012-08-051-0/+3
|
* Add a comment about the units of platformWordSizeIan Lynagh2012-07-241-0/+2
|
* Delay inlining 'text' so that the RULE has a chance to fireSimon Peyton Jones2012-07-231-0/+3
|
* GHC 7.4 is now required for building HEADIan Lynagh2012-07-207-338/+0
|
* Merge branch 'master' of darcs.haskell.org:/srv/darcs//ghcIan Lynagh2012-07-191-9/+1
|\
| * Remove hPrintDump and make rule dump output more consistent (#7060)Paolo Capriotti2012-07-181-9/+1
| | | | | | | | | | | | | | | | The only difference between SevDump and SevOutput in defaultLogAction is an extra blank line, so we don't need a separate hPrintDump function. Also make -ddump-to-file consistent with the stdout version, by avoiding to add the extra empty line when dumping rules.
* | Remove a workaround for GHC 6.4.2Ian Lynagh2012-07-161-4/+1
| |
* | Remove redundant warning-avoidance, and a redundant importIan Lynagh2012-07-161-4/+0
| |
* | Move -fno-warn-orphan flag into individual modulesIan Lynagh2012-07-151-0/+1
| |
* | Small refactoring for FastZStringsIan Lynagh2012-07-151-2/+23
| |
* | Define FastString on top of FastBytesIan Lynagh2012-07-152-17/+16
| | | | | | | | | | | | Although we currently break the abstraction a lot in the FastString operations, this is a step towards ultimately being able to replace FastBytes with ByteString.
* | Rename a variable to avoid name conflicts in haddockIan Lynagh2012-07-151-1/+1
| |
* | Small refactoringIan Lynagh2012-07-151-4/+1
| |
* | Add a separate FastZString typeIan Lynagh2012-07-154-123/+68
| | | | | | | | | | | | | | | | | | FastStrings are now always UTF8-encoded. There's no StringTable for FastZString, but I don't think one is needed. We only ever make a FastZString by running zEncodeFS on a FastString, and the FastStrings are shared via the FastString StringTable, so we get the same FastZString from the IORef.
* | Redefine appendFS in terms of appendFBIan Lynagh2012-07-141-12/+4
| | | | | | | | | | | | I think the old definition had a bug, although it probably never actually bit us: It used lengthFS to work out how large the arguments where, but lengthFS returns the number of characters, not bytes.
* | HsStringPrim now contains FastBytes, not FastStringIan Lynagh2012-07-141-1/+19
| |
* | Implement FastBytes, and use it for MachStrIan Lynagh2012-07-143-11/+99
|/ | | | | | | | | | | | | This is a first step on the way to refactoring the FastString type. FastBytes currently has no unique, mainly because there isn't currently a nice way to produce them in Binary. Also, we don't currently do the "Dictionary" thing with FastBytes in Binary. I'm not sure whether this is important. We can change both decisions later, but in the meantime this gets the refactoring underway.
* Small tidy-upIan Lynagh2012-07-131-1/+1
|
* Don't use tracingDynFlags in assertPprPanicIan Lynagh2012-07-131-1/+1
| | | | It wasn't needed, but was left over as an oversight
* Fix merge-related problemsSimon Marlow2012-07-041-2/+0
|
* Merge remote-tracking branch 'origin/master' into newcgSimon Marlow2012-07-0415-1205/+1153
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * origin/master: (756 commits) don't crash if argv[0] == NULL (#7037) -package P was loading all versions of P in GHCi (#7030) Add a Note, copying text from #2437 improve the --help docs a bit (#7008) Copy Data.HashTable's hashString into our Util module Build fix Build fixes Parse error: suggest brackets and indentation. Don't build the ghc DLL on Windows; works around trac #5987 On Windows, detect if DLLs have too many symbols; trac #5987 Add some more Integer rules; fixes #6111 Fix PA dfun construction with silent superclass args Add silent superclass parameters to the vectoriser Add silent superclass parameters (again) Mention Generic1 in the user's guide Make the GHC API a little more powerful. tweak llvm version warning message New version of the patch for #5461. Fix Word64ToInteger conversion rule. Implemented feature request on reconfigurable pretty-printing in GHCi (#5461) ... Conflicts: compiler/basicTypes/UniqSupply.lhs compiler/cmm/CmmBuildInfoTables.hs compiler/cmm/CmmLint.hs compiler/cmm/CmmOpt.hs compiler/cmm/CmmPipeline.hs compiler/cmm/CmmStackLayout.hs compiler/cmm/MkGraph.hs compiler/cmm/OldPprCmm.hs compiler/codeGen/CodeGen.lhs compiler/codeGen/StgCmm.hs compiler/codeGen/StgCmmBind.hs compiler/codeGen/StgCmmLayout.hs compiler/codeGen/StgCmmUtils.hs compiler/main/CodeOutput.lhs compiler/main/HscMain.hs compiler/nativeGen/AsmCodeGen.lhs compiler/simplStg/SimplStg.lhs
| * Copy Data.HashTable's hashString into our Util moduleIan Lynagh2012-06-301-1/+72
| | | | | | | | | | Data.HashTable is now deprecated and will soon be removed, but deSugar/Coverage.lhs uses hashString.
| * Remove the ID MonadIan Lynagh2012-06-231-18/+0
| | | | | | | | | | We don't use it, and if we want an identity Monad then there's one in transformers:Data.Functor.Identity that we could use.
| * Remove sortLeIan Lynagh2012-06-221-93/+2
| | | | | | | | We now use Data.List's sort(By)
| * Change more uses of sortLe to sortByIan Lynagh2012-06-221-2/+1
| |
| * Remove some uses of sortLeIan Lynagh2012-06-222-7/+5
| | | | | | | | | | | | Technically the behaviour of sortWith has changed, as it used x `le` y = get_key x < get_key y (note "<" rather than "<="), but I assume that that was just a mistake.
| * Remove some more unused functionsIan Lynagh2012-06-221-28/+0
| |
| * Remove a GHC 6.4 workaroundIan Lynagh2012-06-221-6/+1
| |
| * Remove 'on' from UtilIan Lynagh2012-06-221-5/+1
| | | | | | | | We can now rely on it being available from Data.Function
| * Remove some more unused function from ListSetOpsIan Lynagh2012-06-221-22/+0
| |
| * Remove an unused functionIan Lynagh2012-06-221-20/+0
| |
| * Follow changes in baseIan Lynagh2012-06-191-4/+2
| |
| * Make -dppr-cols a dynamic flagIan Lynagh2012-06-182-12/+9
| |
| * Remove a redundant importIan Lynagh2012-06-161-1/+0
| |
| * Remove a workaround for building with GHC 6.9Ian Lynagh2012-06-161-4/+0
| |
| * Be strict in the DynFlags inside an SDocIan Lynagh2012-06-141-1/+1
| | | | | | | | | | | | This is safe now that the tracingDynFlags is not just a call to panic. Not sure if it was causing a problem as it was, but this change should help make sure we don't get a chain of thunks built up inside SDocs.
| * Change -dppr-user-length from a static to a dynamic flagIan Lynagh2012-06-141-7/+9
| |
| * Add missing fileIan Lynagh2012-06-131-0/+7
| |
| * Remove PlatformOutputableIan Lynagh2012-06-132-27/+9
| | | | | | | | | | We can now get the Platform from the DynFlags inside an SDoc, so we no longer need to pass the Platform in.
| * Make tracingDynFlags slightly more definedIan Lynagh2012-06-121-9/+1
| | | | | | | | | | In particular, fields like 'flags' are now set to the default, so at least they will work to some extent.
| * Pass DynFlags down to pprDefiniteTraceIan Lynagh2012-06-121-2/+2
| |
| * Add DynFlags to the SDoc stateIan Lynagh2012-06-121-31/+33
| |
| * Pass DynFlags down to pprDebugAndThenIan Lynagh2012-06-121-6/+6
| |
| * Remove unused showsPrecSDocIan Lynagh2012-06-121-4/+1
| |