summaryrefslogtreecommitdiffhomepage
path: root/ir/tr
diff options
context:
space:
mode:
authorChristoph Mallon <christoph.mallon@gmx.de>2015-12-08 19:19:12 +0100
committerChristoph Mallon <christoph.mallon@gmx.de>2015-12-08 19:19:12 +0100
commit7bf8f092364baeee38eff0db079853ad3b1ae52f (patch)
tree1f98e4eca4d8f4eff459b7b9e9fe758950938209 /ir/tr
parent9360f8e6eea3acf5d8fa962a87f92ff37b20030d (diff)
tr: Remove 'set_pointer_mode()'.
Diffstat (limited to 'ir/tr')
-rw-r--r--ir/tr/type.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/ir/tr/type.c b/ir/tr/type.c
index 4f8a730..5e29be3 100644
--- a/ir/tr/type.c
+++ b/ir/tr/type.c
@@ -871,14 +871,6 @@ int (is_Pointer_type)(const ir_type *pointer)
return is_pointer_type_(pointer);
}
-void set_pointer_mode(ir_type *tp, ir_mode *mode)
-{
- assert(is_Pointer_type(tp));
- assert(mode_is_reference(mode));
- tp->size = get_mode_size_bytes(mode);
- tp->mode = mode;
-}
-
ir_type *find_pointer_type_to_type(ir_type *tp)
{
for (size_t i = 0, n = get_irp_n_types(); i < n; ++i) {