projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Set ls_mode for created ia32_Test node.
[libfirm]
/
ir
/
stat
/
pattern_dmp.c
diff --git
a/ir/stat/pattern_dmp.c
b/ir/stat/pattern_dmp.c
index
4ae89c2
..
c3958a6
100644
(file)
--- a/
ir/stat/pattern_dmp.c
+++ b/
ir/stat/pattern_dmp.c
@@
-25,8
+25,6
@@
*/
#include "config.h"
*/
#include "config.h"
-#ifdef FIRM_STATISTICS
-
#include <stdio.h>
#include <stdlib.h>
#include <stdio.h>
#include <stdlib.h>
@@
-387,7
+385,7
@@
pattern_dumper_t *new_text_dumper(void)
{
pattern_dumper_t *res = XMALLOC(pattern_dumper_t);
{
pattern_dumper_t *res = XMALLOC(pattern_dumper_t);
-
memcpy(res, &stdout_dump, sizeof(*res))
;
+
*res = stdout_dump
;
res->data = stdout;
if (res->dump_start)
res->data = stdout;
if (res->dump_start)
@@
-423,5
+421,3
@@
pattern_dumper_t *new_vcg_dumper(const char *vcg_name, unsigned max_pattern)
return res;
} /* new_vcg_dumper */
return res;
} /* new_vcg_dumper */
-
-#endif /* FIRM_STATISTICS */