projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
some workaround to avoid condeval creating Phibs which not all backends like
[libfirm]
/
ir
/
ident
/
ident.c
diff --git
a/ir/ident/ident.c
b/ir/ident/ident.c
index
49abd69
..
668d797
100644
(file)
--- a/
ir/ident/ident.c
+++ b/
ir/ident/ident.c
@@
-20,22
+20,16
@@
#include <stddef.h>
#include <stdlib.h>
#include <stddef.h>
#include <stdlib.h>
-#ifdef HAVE_ALLOCA_H
-#include <alloca.h>
-#endif
-#ifdef HAVE_MALLOC_H
-#include <malloc.h>
-#endif
-
#ifdef FIRM_ENABLE_WCHAR
#include <wchar.h>
#endif
#include "ident_t.h"
#include "set.h"
#ifdef FIRM_ENABLE_WCHAR
#include <wchar.h>
#endif
#include "ident_t.h"
#include "set.h"
+#include "xmalloc.h"
/* for debugging only, not the real implementation */
/* for debugging only, not the real implementation */
-struct ident {
+struct
_
ident {
char reserved[sizeof(unsigned) + sizeof(size_t)];
char data[1];
};
char reserved[sizeof(unsigned) + sizeof(size_t)];
char data[1];
};