set_dump_block_edge_hook(cdep_edge_hook);
dump_ir_block_graph(irg, "_cdep");
set_dump_block_edge_hook(NULL);
+#else
+ (void) cdep_edge_hook;
#endif
/* restore the post dominator relation */
void free_execfreq(exec_freq_t *ef);
-double get_block_execfreq(const exec_freq_t *ef, const ir_node * irn);
-unsigned long get_block_execfreq_ulong(const exec_freq_t *ef, const ir_node *bb);
+double get_block_execfreq(const exec_freq_t *ef, const ir_node *block);
+unsigned long get_block_execfreq_ulong(const exec_freq_t *ef, const ir_node *block);
#endif /* EXECFREQ_H_ */
#include <stdlib.h>
#include <string.h>
-# include "timing.h"
+#include "timing.h"
+#include "xmalloc.h"
struct timing_env
{
#else
#include <sys/time.h>
-\f
+
/*
Helpers
*/
return ((x->tv_sec - y->tv_sec) * 1000000 + (x->tv_usec - y->tv_usec));
}
-\f
+
/*
Public Interface
*/
}
#endif /* _WIN32 */
-\f
+
/*
$Log$
+ Revision 1.5 2006/09/12 12:17:37 matze
+ more warning fixes
+
Revision 1.4 2006/06/06 12:06:27 beck
use xmalloc instead of malloc
Revision 1.1 2004/10/29 18:55:52 liekweg
(mostly) generic timimg
-
-
*/