projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
It does not make any sense to remove AM, which loads a non-GP value to fix register...
[libfirm]
/
ir
/
adt
/
hashset.c
diff --git
a/ir/adt/hashset.c
b/ir/adt/hashset.c
index
0e8e529
..
d0a3e7e
100644
(file)
--- a/
ir/adt/hashset.c
+++ b/
ir/adt/hashset.c
@@
-95,7
+95,7
@@
#ifndef Alloc
#include "xmalloc.h"
#ifndef Alloc
#include "xmalloc.h"
-#define Alloc(size)
(HashSetEntry*) xmalloc((size) * sizeof(HashSetEntry
))
+#define Alloc(size)
XMALLOCN(HashSetEntry, (size
))
#define Free(ptr) free(ptr)
#endif /* Alloc */
#define Free(ptr) free(ptr)
#endif /* Alloc */
@@
-363,7
+363,7
@@
void resize(HashSet *self, size_t new_size)
#else
/* resize must be defined outside */
#else
/* resize must be defined outside */
-static void resize(HashSet *self, size_t new_size);
+static
INLINE
void resize(HashSet *self, size_t new_size);
#endif
#endif