Commit 3ea05377 authored by Matthias Braun's avatar Matthias Braun
Browse files

more warning fixes

[r8221]
parent 60461da2
......@@ -147,6 +147,8 @@ void compute_cdep(ir_graph *irg)
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 */
......
......@@ -37,7 +37,7 @@ exec_freq_t *compute_execfreq(ir_graph *irg, double loop_weight);
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_ */
......@@ -23,7 +23,8 @@
#include <stdlib.h>
#include <string.h>
# include "timing.h"
#include "timing.h"
#include "xmalloc.h"
struct timing_env
{
......@@ -39,7 +40,7 @@ int end_timing (timing_t *t) {}
#else
#include <sys/time.h>
/*
Helpers
*/
......@@ -62,7 +63,7 @@ timeval_subtract (struct timeval *x, struct timeval *y)
return ((x->tv_sec - y->tv_sec) * 1000000 + (x->tv_usec - y->tv_usec));
}
/*
Public Interface
*/
......@@ -101,9 +102,12 @@ end_timing (timing_t *t)
}
#endif /* _WIN32 */
/*
$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
......@@ -115,6 +119,4 @@ end_timing (timing_t *t)
Revision 1.1 2004/10/29 18:55:52 liekweg
(mostly) generic timimg
*/
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment