projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
- add dumping of indirect/external calls
[libfirm]
/
ir
/
stat
/
const_stat.c
diff --git
a/ir/stat/const_stat.c
b/ir/stat/const_stat.c
index
1b0fad0
..
cde1994
100644
(file)
--- a/
ir/stat/const_stat.c
+++ b/
ir/stat/const_stat.c
@@
-1,5
+1,5
@@
/*
/*
- * Copyright (C) 1995-200
7
University of Karlsruhe. All right reserved.
+ * Copyright (C) 1995-200
8
University of Karlsruhe. All right reserved.
*
* This file is part of libFirm.
*
*
* This file is part of libFirm.
*
@@
-95,6
+95,7
@@
void stat_update_const(stat_info_t *status, ir_node *node, graph_entry_t *graph)
ir_mode *mode = get_irn_mode(node);
tarval *tv;
unsigned bits;
ir_mode *mode = get_irn_mode(node);
tarval *tv;
unsigned bits;
+ (void) graph;
if (mode_is_int(mode)) {
tv = get_Const_tarval(node);
if (mode_is_int(mode)) {
tv = get_Const_tarval(node);
@@
-121,7
+122,7
@@
void stat_update_const(stat_info_t *status, ir_node *node, graph_entry_t *graph)
/* clears the const statistics for a new snapshot */
void stat_const_clear(stat_info_t *status) {
/* clears the const statistics for a new snapshot */
void stat_const_clear(stat_info_t *status) {
-
in
t i;
+
size_
t i;
for (i = 0; i < ARR_SIZE(status->const_info.int_bits_count); ++i)
cnt_clr(&status->const_info.int_bits_count[i]);
for (i = 0; i < ARR_SIZE(status->const_info.int_bits_count); ++i)
cnt_clr(&status->const_info.int_bits_count[i]);
@@
-134,5
+135,6
@@
void stat_const_clear(stat_info_t *status) {
/* initialize the Const statistic. */
void stat_init_const_cnt(stat_info_t *status) {
/* initialize the Const statistic. */
void stat_init_const_cnt(stat_info_t *status) {
+ (void) status;
/* currently nothing */
}
/* currently nothing */
}