summaryrefslogtreecommitdiff
path: root/compiler/Unique.h
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2022-08-10 21:55:57 -0400
committerBen Gamari <ben@smart-cactus.org>2022-08-10 21:55:57 -0400
commit5b8ab566cd91cfef8af02f5b5885e14f47249c90 (patch)
treeb190a4bcd61faa01f7a6571bf3ed642b74446077 /compiler/Unique.h
parent61cede993049cacb846b5d5edd4522c43ca0db55 (diff)
downloadhaskell-wip/unique64.tar.gz
64-bit Uniqueswip/unique64
Diffstat (limited to 'compiler/Unique.h')
-rw-r--r--compiler/Unique.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/Unique.h b/compiler/Unique.h
index e4cd2671a1..aefbcbc6b0 100644
--- a/compiler/Unique.h
+++ b/compiler/Unique.h
@@ -1,5 +1,5 @@
/* unique has the following structure:
- * HsInt unique =
- * (unique_tag << (sizeof (HsInt) - UNIQUE_TAG_BITS)) | unique_number
+ * HsInt64 unique =
+ * (unique_tag << (64 - UNIQUE_TAG_BITS)) | unique_number
*/
#define UNIQUE_TAG_BITS 8