From: Simon Marlow Date: Mon, 7 Apr 2008 21:24:37 +0000 (+0000) Subject: update a comment X-Git-Tag: 2008-05-28~393 X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=d7fcc5eb8e926038240078ebfccea05f4f3eb1da update a comment --- diff --git a/includes/Cmm.h b/includes/Cmm.h index d47e6fd..4cfb432 100644 --- a/includes/Cmm.h +++ b/includes/Cmm.h @@ -102,18 +102,8 @@ #endif /* - * The RTS must UNTAG a pointer before dereferencing it. - * The use of UNTAG follows the following rules of thumb: - * - * - Any pointer might be tagged. - * - Except the pointers that are passed in R1 to RTS functions. - * - R1 is also untagged when entering constructor code. - * - * TODO: - * - * - Remove redundancies of tagging and untagging in code generation. - * - Optimize getTag or dataToTag# ? - * + * The RTS must sometimes UNTAG a pointer before dereferencing it. + * See the wiki page Commentary/Rts/HaskellExecution/PointerTagging */ #define TAG_MASK ((1 << TAG_BITS) - 1) #define UNTAG(p) (p & ~TAG_MASK)