summaryrefslogtreecommitdiff
path: root/compiler/prelude
diff options
context:
space:
mode:
authorLuite Stegeman <stegeman@gmail.com>2014-11-19 18:38:58 -0600
committerAustin Seipp <austin@well-typed.com>2014-11-19 19:49:42 -0600
commitc6e12e69fa348328d58540a1ea8abed35d0dda32 (patch)
treebbfb1d10d6dc70e339b01370ff08dbfd04d06de9 /compiler/prelude
parentbc2289e13d9586be087bd8136943dc35a0130c88 (diff)
downloadhaskell-c6e12e69fa348328d58540a1ea8abed35d0dda32.tar.gz
Make calling conventions in template haskell Syntax.hs consistent with those in ghc ForeignCall.hs
this impliments #9703 from ghc trac Test Plan: still needs tests Reviewers: cmsaperstein, ekmett, goldfire, austin Reviewed By: goldfire, austin Subscribers: goldfire, thomie, carter, simonmar Differential Revision: https://phabricator.haskell.org/D353 GHC Trac Issues: #9703
Diffstat (limited to 'compiler/prelude')
-rw-r--r--compiler/prelude/ForeignCall.lhs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/prelude/ForeignCall.lhs b/compiler/prelude/ForeignCall.lhs
index 232f69f67f..010434300b 100644
--- a/compiler/prelude/ForeignCall.lhs
+++ b/compiler/prelude/ForeignCall.lhs
@@ -156,6 +156,7 @@ platforms.
See: http://www.programmersheaven.com/2/Calling-conventions
\begin{code}
+-- any changes here should be replicated in the CallConv type in template haskell
data CCallConv = CCallConv | CApiConv | StdCallConv | PrimCallConv | JavaScriptCallConv
deriving (Eq, Data, Typeable)
{-! derive: Binary !-}