diff options
author | Ben Gamari <ben@well-typed.com> | 2020-10-21 16:15:16 -0400 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2020-10-23 02:43:33 -0400 |
commit | 730bb59086ad1036143983c3fba61bd851bebc03 (patch) | |
tree | ef5055e0c07f6eda57da36c4d06bf767e451c93f /compiler | |
parent | 711929e6bcbcd5439dbf748cb57f56088b9a9f16 (diff) | |
download | haskell-730bb59086ad1036143983c3fba61bd851bebc03.tar.gz |
cmm: Add Note reference to ForeignHint
Diffstat (limited to 'compiler')
-rw-r--r-- | compiler/GHC/Cmm/Type.hs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/GHC/Cmm/Type.hs b/compiler/GHC/Cmm/Type.hs index 8a750cd10d..8cd502f8b7 100644 --- a/compiler/GHC/Cmm/Type.hs +++ b/compiler/GHC/Cmm/Type.hs @@ -311,6 +311,8 @@ isVecType _ = False -- Hints are extra type information we attach to the arguments and -- results of a foreign call, where more type information is sometimes -- needed by the ABI to make the correct kind of call. +-- +-- See Note [Signed vs unsigned] for one case where this is used. data ForeignHint = NoHint | AddrHint | SignedHint |