projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bac17e1
)
reference are integermode too for the backend
author
Matthias Braun
<matze@braunis.de>
Sun, 30 Mar 2008 12:58:15 +0000
(12:58 +0000)
committer
Matthias Braun
<matze@braunis.de>
Sun, 30 Mar 2008 12:58:15 +0000
(12:58 +0000)
[r18288]
ir/be/ia32/ia32_transform.c
patch
|
blob
|
history
diff --git
a/ir/be/ia32/ia32_transform.c
b/ir/be/ia32/ia32_transform.c
index
e789a7f
..
41ae349
100644
(file)
--- a/
ir/be/ia32/ia32_transform.c
+++ b/
ir/be/ia32/ia32_transform.c
@@
-2969,7
+2969,7
@@
static ir_node *gen_Conv(ir_node *node) {
ir_node *res = NULL;
if (src_mode == mode_b) {
- assert(mode_is_int(tgt_mode));
+ assert(mode_is_int(tgt_mode)
|| mode_is_reference(tgt_mode)
);
/* nothing to do, we already model bools as 0/1 ints */
return be_transform_node(op);
}