projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a5bd439
)
When transforming floating point constants into load AM, use the mode of the entity...
author
Christoph Mallon
<christoph.mallon@gmx.de>
Mon, 28 Apr 2008 12:04:39 +0000
(12:04 +0000)
committer
Christoph Mallon
<christoph.mallon@gmx.de>
Mon, 28 Apr 2008 12:04:39 +0000
(12:04 +0000)
[r19412]
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
69bbde5
..
14678fe
100644
(file)
--- a/
ir/be/ia32/ia32_transform.c
+++ b/
ir/be/ia32/ia32_transform.c
@@
-672,7
+672,7
@@
static void build_address(ia32_address_mode_t *am, ir_node *node)
addr->mem = new_NoMem();
addr->symconst_ent = entity;
addr->use_frame = 1;
- am->ls_mode = get_
irn_mode(node
);
+ am->ls_mode = get_
type_mode(get_entity_type(entity)
);
am->pinned = op_pin_state_floats;
return;
}