projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed name mangling for private entities
[libfirm]
/
ir
/
be
/
beschednormal.c
diff --git
a/ir/be/beschednormal.c
b/ir/be/beschednormal.c
index
5f5e8a0
..
46aa21b
100644
(file)
--- a/
ir/be/beschednormal.c
+++ b/
ir/be/beschednormal.c
@@
-33,7
+33,7
@@
#include "height.h"
#include "irtools.h"
#include "irgwalk.h"
#include "height.h"
#include "irtools.h"
#include "irgwalk.h"
-#include "benode
_t
.h"
+#include "benode.h"
#include "array_t.h"
// XXX there is no one time init for schedulers
#include "array_t.h"
// XXX there is no one time init for schedulers
@@
-154,7
+154,7
@@
static int normal_tree_cost(ir_node* irn, instance_t *inst)
int i;
ir_node* block = get_nodes_block(irn);
int i;
ir_node* block = get_nodes_block(irn);
- fc =
obstack_alloc(&inst->obst, sizeof(*fc) + sizeof(*fc->costs) *
arity);
+ fc =
OALLOCF(&inst->obst, flag_and_cost, costs,
arity);
fc->no_root = 0;
costs = fc->costs;
fc->no_root = 0;
costs = fc->costs;