diff options
Diffstat (limited to 'utils/genapply')
-rw-r--r-- | utils/genapply/Main.hs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/utils/genapply/Main.hs b/utils/genapply/Main.hs index 90ae5d7ac0..b30c9f8c46 100644 --- a/utils/genapply/Main.hs +++ b/utils/genapply/Main.hs @@ -19,6 +19,10 @@ module Main(main) where -- Needed for TAG_BITS #include "../../includes/MachDeps.h" +#if MIN_VERSION_base(4,11,0) +import Prelude hiding ((<>)) +#endif + import Text.PrettyPrint import Data.Word import Data.Bits @@ -854,7 +858,7 @@ genApplyFast regstatus args = nest 4 (vcat [ text "Sp_adj" <> parens (int (-sp_offset)) <> semi, saveRegOffs reg_locs, - mkJump regstatus fun_ret_label [] [] <> semi + mkJump regstatus fun_ret_label [] args <> semi ]), char '}' ]), |