summaryrefslogtreecommitdiff
path: root/includes/Cmm.h
diff options
context:
space:
mode:
authorSiddhanathan Shanmugam <siddhanathan@gmail.com>2015-09-11 16:10:41 -0500
committerAustin Seipp <austin@well-typed.com>2015-09-11 18:33:32 -0500
commit7ad4b3c1419fefbb01fd4643f374150abd1d11e2 (patch)
tree46fed56f87cfd2b32ce5ec2537b04be95cbbda23 /includes/Cmm.h
parent4275028c744ef8ee6bbc26c3a301ef2e3e8708a0 (diff)
downloadhaskell-7ad4b3c1419fefbb01fd4643f374150abd1d11e2.tar.gz
s/StgArrWords/StgArrBytes/
Rename StgArrWords to StgArrBytes (see Trac #8552) Reviewed By: austin Differential Revision: https://phabricator.haskell.org/D1233 GHC Trac Issues: #8552
Diffstat (limited to 'includes/Cmm.h')
-rw-r--r--includes/Cmm.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/Cmm.h b/includes/Cmm.h
index 908a3763ca..20d6e56228 100644
--- a/includes/Cmm.h
+++ b/includes/Cmm.h
@@ -540,10 +540,10 @@
-------------------------------------------------------------------------- */
/* The offset of the payload of an array */
-#define BYTE_ARR_CTS(arr) ((arr) + SIZEOF_StgArrWords)
+#define BYTE_ARR_CTS(arr) ((arr) + SIZEOF_StgArrBytes)
/* The number of words allocated in an array payload */
-#define BYTE_ARR_WDS(arr) ROUNDUP_BYTES_TO_WDS(StgArrWords_bytes(arr))
+#define BYTE_ARR_WDS(arr) ROUNDUP_BYTES_TO_WDS(StgArrBytes_bytes(arr))
/* Getting/setting the info pointer of a closure */
#define SET_INFO(p,info) StgHeader_info(p) = info