diff options
author | Austin Seipp <aseipp@pobox.com> | 2013-09-06 13:18:11 -0500 |
---|---|---|
committer | Austin Seipp <aseipp@pobox.com> | 2013-09-06 13:18:11 -0500 |
commit | b372e8eadcbb6abe00d7a7b1198b656a29dcb1ce (patch) | |
tree | fef67897d8e6ab0aa9370c96b871ba6b91ecadf1 /compiler/cmm/PprC.hs | |
parent | df614779c356ea6aef29367a8dd1ca819b03a1d1 (diff) | |
download | haskell-b372e8eadcbb6abe00d7a7b1198b656a29dcb1ce.tar.gz |
Add basic support for GHCJS
This patch encompasses most of the basic infrastructure for GHCJS. It
includes:
* A new extension, -XJavaScriptFFI
* A new architecture, ArchJavaScript
* Parser and lexer support for 'foreign import javascript', only
available under -XJavaScriptFFI, using ArchJavaScript.
* As a knock-on, there is also a new 'WayCustom' constructor in
DynFlags, so clients of the GHC API can add custom 'tags' to their
built files. This should be useful for other users as well.
The remaining changes are really just the resulting fallout, making sure
all the cases are handled appropriately for DynFlags and Platform.
Authored-by: Luite Stegeman <stegeman@gmail.com>
Signed-off-by: Austin Seipp <aseipp@pobox.com>
Diffstat (limited to 'compiler/cmm/PprC.hs')
-rw-r--r-- | compiler/cmm/PprC.hs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/cmm/PprC.hs b/compiler/cmm/PprC.hs index b0c9bd3f2f..149968d118 100644 --- a/compiler/cmm/PprC.hs +++ b/compiler/cmm/PprC.hs @@ -938,6 +938,7 @@ is_cishCC CCallConv = True is_cishCC CApiConv = True is_cishCC StdCallConv = True is_cishCC PrimCallConv = False +is_cishCC JavaScriptCallConv = False -- --------------------------------------------------------------------- -- Find and print local and external declarations for a list of |