projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add arch_get_register_req_out().
[libfirm]
/
ir
/
be
/
ia32
/
ia32_finish.c
diff --git
a/ir/be/ia32/ia32_finish.c
b/ir/be/ia32/ia32_finish.c
index
a7eaf75
..
6bbbc64
100644
(file)
--- a/
ir/be/ia32/ia32_finish.c
+++ b/
ir/be/ia32/ia32_finish.c
@@
-23,9
+23,7
@@
* @author Christian Wuerdig
* @version $Id$
*/
* @author Christian Wuerdig
* @version $Id$
*/
-#ifdef HAVE_CONFIG_H
#include "config.h"
#include "config.h"
-#endif
#include "irnode.h"
#include "ircons.h"
#include "irnode.h"
#include "ircons.h"
@@
-197,6
+195,8
@@
static void ia32_transform_sub_to_neg_add(ir_node *irn, ia32_code_gen_t *cg)
}
}
}
}
+ set_irn_mode(res, get_irn_mode(irn));
+
SET_IA32_ORIG_NODE(res, ia32_get_old_node_name(cg, irn));
/* remove the old sub */
SET_IA32_ORIG_NODE(res, ia32_get_old_node_name(cg, irn));
/* remove the old sub */
@@
-206,7
+206,7
@@
static void ia32_transform_sub_to_neg_add(ir_node *irn, ia32_code_gen_t *cg)
DBG_OPT_SUB2NEGADD(irn, res);
}
DBG_OPT_SUB2NEGADD(irn, res);
}
-static
INLINE
int need_constraint_copy(ir_node *irn)
+static
inline
int need_constraint_copy(ir_node *irn)
{
/* TODO this should be determined from the node specification */
switch (get_ia32_irn_opcode(irn)) {
{
/* TODO this should be determined from the node specification */
switch (get_ia32_irn_opcode(irn)) {