X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2Fcmm%2FCmmCallConv.hs;h=a49fa65ab4a2d20d0da73083a5f0c5697bd9aa36;hb=2bb3a439c106935d97fae7f7a0b60c21493d1bef;hp=b9df541ee4f80969af3203201ac2608dadcb4c30;hpb=a8e1e190ee5aa16f31bdde26daf3c897314e8994;p=ghc-hetmet.git diff --git a/compiler/cmm/CmmCallConv.hs b/compiler/cmm/CmmCallConv.hs index b9df541..a49fa65 100644 --- a/compiler/cmm/CmmCallConv.hs +++ b/compiler/cmm/CmmCallConv.hs @@ -15,7 +15,6 @@ import ZipCfgCmmRep (Convention(..)) import Constants import StaticFlags (opt_Unregisterised) import Outputable -import Panic -- Calculate the 'GlobalReg' or stack locations for function call -- parameters as used by the Cmm calling convention. @@ -175,7 +174,7 @@ assign_bits_reg _ w off gcp (v:vs, fs, ds, ls) assign_bits_reg _ w off _ (vs, fs, ds, l:ls) | widthInBits w > widthInBits wordWidth = (RegisterParam l, off, 0, (vs, fs, ds, ls)) -assign_bits_reg assign_slot w off _ regs@(_, _, _, ls) = assign_slot w off regs +assign_bits_reg assign_slot w off _ regs@(_, _, _, _) = assign_slot w off regs assign_float_reg :: SlotAssigner -> Width -> WordOff -> AvailRegs -> Assignment assign_float_reg _ W32 off (vs, f:fs, ds, ls) = (RegisterParam $ f, off, 0, (vs, fs, ds, ls))