projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Do not mark the transformed as visited. It makes no sense at all.
[libfirm]
/
ir
/
be
/
becopyilp.c
diff --git
a/ir/be/becopyilp.c
b/ir/be/becopyilp.c
index
393314e
..
07e6494
100644
(file)
--- a/
ir/be/becopyilp.c
+++ b/
ir/be/becopyilp.c
@@
-36,8
+36,8
@@
#include "bemodule.h"
#include "error.h"
#include "bemodule.h"
#include "error.h"
-#include
<libcore/lc_opts.h>
-#include
<libcore/lc_opts_enum.h>
+#include
"lc_opts.h"
+#include
"lc_opts_enum.h"
#ifdef WITH_ILP
#ifdef WITH_ILP
@@
-95,7
+95,7
@@
BE_REGISTER_MODULE_CONSTRUCTOR(be_init_copyilp);
size_red_t *new_size_red(copy_opt_t *co) {
size_red_t *new_size_red(copy_opt_t *co) {
- size_red_t *res =
xmalloc(sizeof(*res)
);
+ size_red_t *res =
XMALLOC(size_red_t
);
res->co = co;
res->all_removed = pset_new_ptr_default();
res->co = co;
res->all_removed = pset_new_ptr_default();
@@
-208,8
+208,7
@@
void free_size_red(size_red_t *sr) {
#include <stdio.h>
ilp_env_t *new_ilp_env(copy_opt_t *co, ilp_callback build, ilp_callback apply, void *env) {
#include <stdio.h>
ilp_env_t *new_ilp_env(copy_opt_t *co, ilp_callback build, ilp_callback apply, void *env) {
- ilp_env_t *res = xmalloc(sizeof(*res));
- assert(res);
+ ilp_env_t *res = XMALLOC(ilp_env_t);
res->co = co;
res->build = build;
res->co = co;
res->build = build;