projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
- let option "hmuchnik" select the heuristic muchnik scheduler, not the trivial one
[libfirm]
/
ir
/
tr
/
tpop.c
diff --git
a/ir/tr/tpop.c
b/ir/tr/tpop.c
index
d9df533
..
3fcf757
100644
(file)
--- a/
ir/tr/tpop.c
+++ b/
ir/tr/tpop.c
@@
-23,9
+23,7
@@
* @author Goetz Lindenmaier, Michael Beck
* @version $Id$
*/
* @author Goetz Lindenmaier, Michael Beck
* @version $Id$
*/
-#ifdef HAVE_CONFIG_H
-# include "config.h"
-#endif
+#include "config.h"
#include "xmalloc.h"
#include "tpop_t.h"
#include "xmalloc.h"
#include "tpop_t.h"
@@
-47,9
+45,7
@@
tp_op *
new_tpop(tp_opcode code, ident *name, unsigned flags, size_t attr_size,
const tp_op_ops *ops)
{
new_tpop(tp_opcode code, ident *name, unsigned flags, size_t attr_size,
const tp_op_ops *ops)
{
- tp_op *res;
-
- res = xmalloc(sizeof(*res));
+ tp_op *res = XMALLOC(tp_op);
res->code = code;
res->name = name;
res->flags = flags;
res->code = code;
res->name = name;
res->flags = flags;