projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
827fd51
)
used xmalloc instead of malloc
author
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Sun, 5 Mar 2006 01:19:41 +0000
(
01:19
+0000)
committer
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Sun, 5 Mar 2006 01:19:41 +0000
(
01:19
+0000)
[r7415]
ir/adt/bitset.h
patch
|
blob
|
history
diff --git
a/ir/adt/bitset.h
b/ir/adt/bitset.h
index
ae9d8a4
..
ad920a8
100644
(file)
--- a/
ir/adt/bitset.h
+++ b/
ir/adt/bitset.h
@@
-109,7
+109,7
@@
static INLINE bitset_t *_bitset_mask_highest(bitset_t *bs)
* @return A pointer to an empty initialized bitset.
*/
#define bitset_malloc(size) \
- _bitset_prepare(malloc(_bitset_overall_size(sizeof(bitset_t), size)), size)
+ _bitset_prepare(
x
malloc(_bitset_overall_size(sizeof(bitset_t), size)), size)
/**
* Free a bitset allocated with bitset_malloc().