summaryrefslogtreecommitdiffhomepage
path: root/ir/be/betranshlp.c
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2015-10-18 00:09:22 +0200
committerMatthias Braun <matze@braunis.de>2015-10-18 00:11:48 +0200
commit1f55516e34a6debbb2fe057ebac85114a8dd4ae6 (patch)
tree04b92e30885ca764b9ae2d17b5163ce84bdd36bb /ir/be/betranshlp.c
parent00a4e07509a168aa715689c9c5d223d2ac841785 (diff)
irmode: rename reference_mode_unsigned_eq to reference_offset_mode
Also choose a signed integer type which is more typical for offsets.
Diffstat (limited to 'ir/be/betranshlp.c')
-rw-r--r--ir/be/betranshlp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ir/be/betranshlp.c b/ir/be/betranshlp.c
index 45439f0..374da55 100644
--- a/ir/be/betranshlp.c
+++ b/ir/be/betranshlp.c
@@ -705,7 +705,7 @@ static void create_stores_for_type(ir_graph *irg, ir_type *type)
ir_node *mem0 = new_r_Proj(store0, mode_M, pn_Store_M);
size_t offset = get_mode_size_bits(mode)/8;
ir_mode *mode_ref = get_irn_mode(addr);
- ir_mode *mode_offs = get_reference_mode_unsigned_eq(mode_ref);
+ ir_mode *mode_offs = get_reference_offset_mode(mode_ref);
ir_node *cnst = new_r_Const_long(irg, mode_offs, offset);
ir_node *next_addr = new_r_Add(start_block, addr, cnst, mode_ref);
ir_node *store1 = new_r_Store(start_block, mem0, next_addr, val1,