From 7f4bec264e8180609846379da6f63555fc2eafef Mon Sep 17 00:00:00 2001 From: Brian Date: Sat, 26 Jan 2008 14:11:50 -0700 Subject: Cell: move ASSERT macro into common.h --- src/mesa/pipe/cell/spu/spu_main.h | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src/mesa/pipe/cell/spu/spu_main.h') diff --git a/src/mesa/pipe/cell/spu/spu_main.h b/src/mesa/pipe/cell/spu/spu_main.h index e4359bf60d..5bc5d9fa99 100644 --- a/src/mesa/pipe/cell/spu/spu_main.h +++ b/src/mesa/pipe/cell/spu/spu_main.h @@ -86,15 +86,6 @@ extern struct spu_global spu; #define TAG_MISC 18 -/** The standard assert macro doesn't seem to work on SPUs */ -#define ASSERT(x) \ - if (!(x)) { \ - fprintf(stderr, "SPU %d: %s:%d: %s(): assertion %s failed.\n", \ - spu.init.id, __FILE__, __LINE__, __FUNCTION__, #x); \ - exit(1); \ - } - - extern void wait_on_mask(unsigned tag); -- cgit v1.2.3