1
0
mirror of git://projects.qi-hardware.com/wernermisc.git synced 2025-01-31 14:31:06 +02:00

m1/perf/sched.c: removed "assert" hack (since we now use regular libc)

This commit is contained in:
Werner Almesberger 2011-09-24 09:38:55 -03:00
parent b2e2364231
commit 9db83ae72c

View File

@ -22,7 +22,7 @@
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
//#include <assert.h>
#include <assert.h>
#include <fpvm/is.h>
#include <fpvm/fpvm.h>
@ -31,13 +31,9 @@
#include <hw/pfpu.h>
#undef assert
#define assert(x) \
do { if (!(x)) { printf("ASSERT: " #x "\n"); abort(); } } \
while (0)
//#define REG_STATS
//#define LCPF /* longest critical path first */
#define LCPF /* longest critical path first */
//#define DEBUG
#ifdef DEBUG