summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gamari <ben@well-typed.com>2020-10-21 16:15:16 -0400
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-10-23 02:43:33 -0400
commit730bb59086ad1036143983c3fba61bd851bebc03 (patch)
treeef5055e0c07f6eda57da36c4d06bf767e451c93f
parent711929e6bcbcd5439dbf748cb57f56088b9a9f16 (diff)
downloadhaskell-730bb59086ad1036143983c3fba61bd851bebc03.tar.gz
cmm: Add Note reference to ForeignHint
-rw-r--r--compiler/GHC/Cmm/Type.hs2
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