summaryrefslogtreecommitdiffhomepage
path: root/ir/ana
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2016-02-13 21:34:30 +0100
committerMatthias Braun <matze@braunis.de>2016-02-14 05:41:48 +0100
commite293c97104423d422a994daaccb1a5c292d55d70 (patch)
treedd476b98d1ae6efcfa05c727b000f932dbe84c04 /ir/ana
parent002cc34b8f7a5c1c5fbfac0a35146431e89cfcc6 (diff)
Rename get_type_{size|alignment}_bytes() to get_type{size|alignment}()
Diffstat (limited to 'ir/ana')
-rw-r--r--ir/ana/irmemory.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ir/ana/irmemory.c b/ir/ana/irmemory.c
index 96d4d5f..55fbf77 100644
--- a/ir/ana/irmemory.c
+++ b/ir/ana/irmemory.c
@@ -438,7 +438,7 @@ pointer:
ir_alias_relation rel;
if (options & aa_opt_byte_type_may_alias) {
- if (get_type_size_bytes(objt1) == 1 || get_type_size_bytes(objt2) == 1) {
+ if (get_type_size(objt1) == 1 || get_type_size(objt2) == 1) {
/* One of the types address a byte. Assume a ir_may_alias and leave
the type based check. */
goto leave_type_based_alias;
@@ -447,7 +447,7 @@ pointer:
/* cheap check: If the type sizes did not match, the types MUST be different */
/* No, one might be part of the other. */
- /* if (get_type_size_bytes(objt1) != get_type_size_bytes(objt2)) */
+ /* if (get_type_size(objt1) != get_type_size(objt2)) */
/* return ir_no_alias; */
/* cheap test: if only one is a reference type, no alias */