projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
- Implement all the state switching stuff needed for efficient fpu mode
[libfirm]
/
ir
/
common
/
statistics.c
diff --git
a/ir/common/statistics.c
b/ir/common/statistics.c
index
1138295
..
276d605
100644
(file)
--- a/
ir/common/statistics.c
+++ b/
ir/common/statistics.c
@@
-10,6
+10,10
@@
* Licence: This file protected by GPL - GNU GENERAL PUBLIC LICENSE.
*/
* Licence: This file protected by GPL - GNU GENERAL PUBLIC LICENSE.
*/
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
#include "statistics.h"
#include "irgraph_t.h"
#include "irnode_t.h"
#include "statistics.h"
#include "irgraph_t.h"
#include "irnode_t.h"
@@
-52,11
+56,11
@@
void print_graph_counts(int verbosity) {
void print_type_counts(int verbosity) {
int i, counter, total = 0;
for (i = 0; i < get_irp_n_types(); i++) {
void print_type_counts(int verbosity) {
int i, counter, total = 0;
for (i = 0; i < get_irp_n_types(); i++) {
- type *tp = get_irp_type(i);
+
ir_
type *tp = get_irp_type(i);
counter = -1;
counter = -1;
- if (is_
c
lass_type(tp)) counter = get_class_n_members(tp);
- if (is_
s
truct_type(tp)) counter = get_struct_n_members(tp);
- if (is_
u
nion_type(tp)) counter = get_union_n_members(tp);
+ if (is_
C
lass_type(tp)) counter = get_class_n_members(tp);
+ if (is_
S
truct_type(tp)) counter = get_struct_n_members(tp);
+ if (is_
U
nion_type(tp)) counter = get_union_n_members(tp);
if (counter > -1) {
if (verbosity == 1)
printf(" +%3d entities in %s type %s.\n", counter, get_type_tpop_name(tp), get_type_name(tp));
if (counter > -1) {
if (verbosity == 1)
printf(" +%3d entities in %s type %s.\n", counter, get_type_tpop_name(tp), get_type_name(tp));