summaryrefslogtreecommitdiffhomepage
path: root/ir/be/bespillslots.c
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2011-09-23 14:23:00 +0200
committerMatthias Braun <matze@braunis.de>2011-09-27 14:23:53 +0200
commit5e3f2a7008c3c4eb5f84a33ffbf7dbea3e2a15be (patch)
tree5df0283949470022b182b0fe0310c2f7200fbbfa /ir/be/bespillslots.c
parent01e23d45af0fae4eb29b0909294728eefbfd5f41 (diff)
fix frame_alloc_area not setting a type size
Diffstat (limited to 'ir/be/bespillslots.c')
-rw-r--r--ir/be/bespillslots.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/ir/be/bespillslots.c b/ir/be/bespillslots.c
index f5bebce..913a67e 100644
--- a/ir/be/bespillslots.c
+++ b/ir/be/bespillslots.c
@@ -527,11 +527,6 @@ static ir_entity* create_stack_entity(be_fec_env_t *env, spill_slot_t *slot)
ir_type *frame = get_irg_frame_type(irg);
ir_entity *res = frame_alloc_area(frame, slot->size, slot->align,
env->at_begin);
-
- /* adjust size of the entity type... */
- ir_type *enttype = get_entity_type(res);
- set_type_size_bytes(enttype, slot->size);
-
slot->entity = res;
return res;