[commit: ghc] wip/T14373: note tweaks (6c61ba8)

git at git.haskell.org git at git.haskell.org
Fri Dec 15 10:40:22 UTC 2017


Repository : ssh://git@git.haskell.org/ghc

On branch  : wip/T14373
Link       : http://ghc.haskell.org/trac/ghc/changeset/6c61ba85afc68a886addd683bd9029991d56a097/ghc

>---------------------------------------------------------------

commit 6c61ba85afc68a886addd683bd9029991d56a097
Author: Gabor Greif <ggreif at gmail.com>
Date:   Fri Dec 15 11:36:28 2017 +0100

    note tweaks


>---------------------------------------------------------------

6c61ba85afc68a886addd683bd9029991d56a097
 compiler/codeGen/StgCmmExpr.hs | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/compiler/codeGen/StgCmmExpr.hs b/compiler/codeGen/StgCmmExpr.hs
index 93cea88..a793048 100644
--- a/compiler/codeGen/StgCmmExpr.hs
+++ b/compiler/codeGen/StgCmmExpr.hs
@@ -675,14 +675,14 @@ cgAlts _ _ _ _ = panic "cgAlts"
 
 -- Note [tagging big families]
 --
--- Previousy, only the small constructor families were tagged.
--- This penalized greater unions which overflow the tag space
+-- Previously, only the small constructor families were tagged.
+-- This penalised greater unions which overflow the tag space
 -- of TAG_BITS (i.e. 3 on 32 resp. 7 constructors on 64 bit).
 -- But there is a clever way of combining pointer and info-table
 -- tagging. We now use 1..{2,6} as pointer-resident tags while
 -- {3,7} signifies we have to fall back and get the tag from the
 -- info-table.
--- Consequently we now cascade switches because we have to check
+-- Consequently we now cascade switches, because we have to check
 -- the tag first and when it is MAX_PTR_TAG then get the precise
 -- tag from the info table and switch on that. The only technically
 -- tricky part is that the default case needs (logical) duplication.



More information about the ghc-commits mailing list