summaryrefslogtreecommitdiff
path: root/compiler/nativeGen/RegAlloc
diff options
context:
space:
mode:
authorGabor Greif <ggreif@gmail.com>2017-04-04 10:49:51 +0200
committerGabor Greif <ggreif@gmail.com>2017-04-05 15:27:05 +0200
commit577f3da7b81920c427c394871c86a523627e14e9 (patch)
tree955cceaab5020990725284b1aff2c26d5aab7191 /compiler/nativeGen/RegAlloc
parentce9b6170b0ac9ff417000d8e7bdff7b2298f2978 (diff)
downloadhaskell-577f3da7b81920c427c394871c86a523627e14e9.tar.gz
Typos in comments [ci skip]
Diffstat (limited to 'compiler/nativeGen/RegAlloc')
-rw-r--r--compiler/nativeGen/RegAlloc/Graph/SpillCost.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/nativeGen/RegAlloc/Graph/SpillCost.hs b/compiler/nativeGen/RegAlloc/Graph/SpillCost.hs
index 0817b3941a..82976c08aa 100644
--- a/compiler/nativeGen/RegAlloc/Graph/SpillCost.hs
+++ b/compiler/nativeGen/RegAlloc/Graph/SpillCost.hs
@@ -165,7 +165,7 @@ chooseSpill info graph
-- cost = sum loadCost * freq (u) + sum storeCost * freq (d)
-- u <- uses (v) d <- defs (v)
--
--- There are no loops in our code at the momemnt, so we can set the freq's to 1.
+-- There are no loops in our code at the moment, so we can set the freq's to 1.
--
-- If we don't have live range splitting then Chaitins function performs badly
-- if we have lots of nested live ranges and very few registers.