[project @ 2002-01-30 13:23:25 by sewardj]
authorsewardj <unknown>
Wed, 30 Jan 2002 13:23:25 +0000 (13:23 +0000)
committersewardj <unknown>
Wed, 30 Jan 2002 13:23:25 +0000 (13:23 +0000)
Fix debug build.

ghc/compiler/nativeGen/MachCode.lhs

index 8c3937f..a193401 100644 (file)
@@ -2716,7 +2716,7 @@ genCCall fn cconv ret_rep args
            -> returnNat (unitOL (CALL (Left (fn__2 tot_arg_size))))
         Right dyn 
            -> get_op dyn `thenNat` \ (dyn_c, dyn_r, dyn_rep) ->
-              ASSERT(dyn_rep == L)
+              ASSERT(case dyn_rep of { L -> True; _ -> False})
               returnNat (dyn_c `snocOL` CALL (Right dyn_r))
     ) 
                                `thenNat` \ callinsns ->