diff options
author | Daniel Gröber <dxld@darkboxed.org> | 2020-04-18 14:46:31 +0200 |
---|---|---|
committer | Daniel Gröber <dxld@darkboxed.org> | 2021-02-14 22:30:19 +0100 |
commit | 637d4f225d55e3518bc120ee5eece927a5775018 (patch) | |
tree | dbf75dcf15084c67344a6880fbceefdea183653c | |
parent | 363414c684d726f6bd369a96090810542bc2e96b (diff) | |
download | haskell-637d4f225d55e3518bc120ee5eece927a5775018.tar.gz |
Document word-size rounding of ByteArray# memory (Fix #14731)
-rw-r--r-- | compiler/GHC/Builtin/primops.txt.pp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/GHC/Builtin/primops.txt.pp b/compiler/GHC/Builtin/primops.txt.pp index afadce5a77..fe9ffa6f00 100644 --- a/compiler/GHC/Builtin/primops.txt.pp +++ b/compiler/GHC/Builtin/primops.txt.pp @@ -1625,7 +1625,8 @@ primtype MutableByteArray# s primop NewByteArrayOp_Char "newByteArray#" GenPrimOp Int# -> State# s -> (# State# s, MutableByteArray# s #) {Create a new mutable byte array of specified size (in bytes), in - the specified state thread.} + the specified state thread. The size of the memory underlying the + array will be rounded up to the platform's word size.} with out_of_line = True has_side_effects = True |