projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
3e5387b
)
bestack: Remove the unused return value from stack_frame_compute_initial_offset().
author
Christoph Mallon
<christoph.mallon@gmx.de>
Mon, 26 Nov 2012 14:23:07 +0000
(15:23 +0100)
committer
Christoph Mallon
<christoph.mallon@gmx.de>
Mon, 26 Nov 2012 14:31:36 +0000
(15:31 +0100)
ir/be/bestack.c
patch
|
blob
|
history
diff --git
a/ir/be/bestack.c
b/ir/be/bestack.c
index
17e8cc3
..
bcbefc3
100644
(file)
--- a/
ir/be/bestack.c
+++ b/
ir/be/bestack.c
@@
-83,7
+83,7
@@
static ir_entity *search_ent_with_offset(ir_type *t, int offset)
return NULL;
}
-static
int
stack_frame_compute_initial_offset(be_stack_layout_t *frame)
+static
void
stack_frame_compute_initial_offset(be_stack_layout_t *frame)
{
ir_type *base = frame->between_type;
ir_entity *ent = search_ent_with_offset(base, 0);
@@
-93,8
+93,6
@@
static int stack_frame_compute_initial_offset(be_stack_layout_t *frame)
} else {
frame->initial_offset = be_get_stack_entity_offset(frame, ent, 0);
}
-
- return frame->initial_offset;
}
/**