projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
- handle strictConv and remainderlessDiv for in opcode map
[libfirm]
/
ir
/
opt
/
ldst2.c
diff --git
a/ir/opt/ldst2.c
b/ir/opt/ldst2.c
index
845c665
..
4184e30
100644
(file)
--- a/
ir/opt/ldst2.c
+++ b/
ir/opt/ldst2.c
@@
-23,9
+23,7
@@
* @author Christoph Mallon
* @version $Id: $
*/
* @author Christoph Mallon
* @version $Id: $
*/
-#ifdef HAVE_CONFIG_H
#include "config.h"
#include "config.h"
-#endif
#include "iroptimize.h"
#include "iroptimize.h"
@@
-525,7
+523,7
@@
static void Detotalise(ir_graph* irg)
size_t npreds = get_Block_n_cfgpreds(end_block);
size_t i;
size_t npreds = get_Block_n_cfgpreds(end_block);
size_t i;
- unfinished_phis =
xmalloc(sizeof(*unfinished_phis) *
count_addrs);
+ unfinished_phis =
XMALLOCN(ir_node,
count_addrs);
for (i = 0; i < count_addrs; i++) {
unfinished_phis[i] = NULL;
}
for (i = 0; i < count_addrs; i++) {
unfinished_phis[i] = NULL;
}
@@
-788,7
+786,7
@@
static void walker(ir_node *proj, void *env)
}
n = ir_nodeset_size(&pi.user_mem);
}
n = ir_nodeset_size(&pi.user_mem);
- if (n != 0) { /* nothing happend otherwise */
+ if (n != 0) { /* nothing happen
e
d otherwise */
ir_graph *irg = current_ir_graph;
ir_node *sync;
ir_node **in;
ir_graph *irg = current_ir_graph;
ir_node *sync;
ir_node **in;