X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=compiler%2FHsVersions.h;h=4e68bbe250f068c62b9807a9e28581ff1e4835c2;hp=09c8d2efed3f3caf300b19fa6b26abb9120d2213;hb=df9195e35a6e7c4bce8737e6930d73781ac6cb58;hpb=0dffbed453a400f0df66d68e3e64184c1e4d940d diff --git a/compiler/HsVersions.h b/compiler/HsVersions.h index 09c8d2e..4e68bbe 100644 --- a/compiler/HsVersions.h +++ b/compiler/HsVersions.h @@ -51,7 +51,7 @@ name = Util.global (value); -- We have to actually use all the variables we are given or we may get -- unused variable warnings when DEBUG is off. #define ASSERT(e) if False && (not (e)) then panic "ASSERT" else -#define ASSERT2(e,msg) if False && (not (e)) then pprPanic "ASSERT2" (msg) else +#define ASSERT2(e,msg) if False && (const False (e,msg)) then pprPanic "ASSERT2" (msg) else #define MASSERT(e) ASSERT(e) return () #define MASSERT2(e,msg) ASSERT2(e,msg) return () #define ASSERTM(e) do { let { _mbool = (e) } }