Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Zwinkau
libfirm
Commits
3ea05377
Commit
3ea05377
authored
Sep 12, 2006
by
Matthias Braun
Browse files
more warning fixes
[r8221]
parent
60461da2
Changes
3
Hide whitespace changes
Inline
Side-by-side
ir/ana/cdep.c
View file @
3ea05377
...
...
@@ -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 */
...
...
ir/ana/execfreq.h
View file @
3ea05377
...
...
@@ -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
*
b
b
);
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
*
b
lock
);
#endif
/* EXECFREQ_H_ */
ir/ana2/timing.c
View file @
3ea05377
...
...
@@ -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
*/
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment