projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
1fc7f74
)
Prefer new_Const(get_mode_one(x)) over new_Const_long(x, 1).
author
Christoph Mallon
<christoph.mallon@gmx.de>
Sat, 20 Feb 2010 11:49:04 +0000
(11:49 +0000)
committer
Christoph Mallon
<christoph.mallon@gmx.de>
Sat, 20 Feb 2010 11:49:04 +0000
(11:49 +0000)
[r27187]
ir/ir/iropt.c
patch
|
blob
|
history
diff --git
a/ir/ir/iropt.c
b/ir/ir/iropt.c
index
3f59816
..
d44e1d1
100644
(file)
--- a/
ir/ir/iropt.c
+++ b/
ir/ir/iropt.c
@@
-2666,7
+2666,7
@@
restart:
get_irn_dbg_info(n),
blk,
mb,
get_irn_dbg_info(n),
blk,
mb,
- new_Const
_long(mode, 1
),
+ new_Const
(get_mode_one(mode)
),
mode),
mode);
DBG_OPT_ALGSIM0(oldn, n, FS_OPT_SUB_MUL_A_X_A);
mode),
mode);
DBG_OPT_ALGSIM0(oldn, n, FS_OPT_SUB_MUL_A_X_A);
@@
-2681,7
+2681,7
@@
restart:
get_irn_dbg_info(n),
blk,
ma,
get_irn_dbg_info(n),
blk,
ma,
- new_Const
_long(mode, 1
),
+ new_Const
(get_mode_one(mode)
),
mode),
mode);
DBG_OPT_ALGSIM0(oldn, n, FS_OPT_SUB_MUL_A_X_A);
mode),
mode);
DBG_OPT_ALGSIM0(oldn, n, FS_OPT_SUB_MUL_A_X_A);