summaryrefslogtreecommitdiff
path: root/compiler/cmm
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/cmm')
-rw-r--r--compiler/cmm/CLabel.hs2
-rw-r--r--compiler/cmm/PprC.hs4
-rw-r--r--compiler/cmm/cmm-notes4
3 files changed, 5 insertions, 5 deletions
diff --git a/compiler/cmm/CLabel.hs b/compiler/cmm/CLabel.hs
index 73ca36c848..bc26490700 100644
--- a/compiler/cmm/CLabel.hs
+++ b/compiler/cmm/CLabel.hs
@@ -760,7 +760,7 @@ hasCAF _ = False
-- -----------------------------------------------------------------------------
-- Does a CLabel need declaring before use or not?
--
--- See wiki:Commentary/Compiler/Backends/PprC#Prototypes
+-- See wiki:commentary/compiler/backends/ppr-c#prototypes
needsCDecl :: CLabel -> Bool
-- False <=> it's pre-declared; don't bother
diff --git a/compiler/cmm/PprC.hs b/compiler/cmm/PprC.hs
index bd019b13a8..c8b9ef76e2 100644
--- a/compiler/cmm/PprC.hs
+++ b/compiler/cmm/PprC.hs
@@ -8,7 +8,7 @@
--
-- Print Cmm as real C, for -fvia-C
--
--- See wiki:Commentary/Compiler/Backends/PprC
+-- See wiki:commentary/compiler/backends/ppr-c
--
-- This is simpler than the old PprAbsC, because Cmm is "macro-expanded"
-- relative to the old AbstractC, and many oddities/decorations have
@@ -240,7 +240,7 @@ pprStmt stmt =
cast_fn = parens (cCast (pprCFunType (char '*') cconv hresults hargs) fn)
- -- See wiki:Commentary/Compiler/Backends/PprC#Prototypes
+ -- See wiki:commentary/compiler/backends/ppr-c#prototypes
fnCall =
case fn of
CmmLit (CmmLabel lbl)
diff --git a/compiler/cmm/cmm-notes b/compiler/cmm/cmm-notes
index 136ac38544..e2fb819222 100644
--- a/compiler/cmm/cmm-notes
+++ b/compiler/cmm/cmm-notes
@@ -65,9 +65,9 @@ Things to do:
- See "CAFs" below; we want to totally refactor the way SRTs are calculated
- - Garbage-collect http://ghc.haskell.org/trac/ghc/wiki/Commentary/Compiler/CPS
+ - Garbage-collect https://gitlab.haskell.org/ghc/ghc/wikis/commentary/compiler/cps
moving good stuff into
- http://ghc.haskell.org/trac/ghc/wiki/Commentary/Compiler/NewCodeGenPipeline
+ https://gitlab.haskell.org/ghc/ghc/wikis/commentary/compiler/new-code-gen-pipeline
- Currently AsmCodeGen top level calls AsmCodeGen.cmmToCmm, which is a small
C-- optimiser. It has quite a lot of boilerplate folding code in AsmCodeGen