projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
old_bp should not be part of the between type, this fixes stack alignment for functio...
[libfirm]
/
ir
/
be
/
bestabs.c
diff --git
a/ir/be/bestabs.c
b/ir/be/bestabs.c
index
e522a55
..
9a0a6eb
100644
(file)
--- a/
ir/be/bestabs.c
+++ b/
ir/be/bestabs.c
@@
-469,13
+469,13
@@
static void gen_method_type(wenv_t *env, ir_type *tp) {
* type-walker: generate declaration for simple types,
* put all other types on a wait queue
*/
* type-walker: generate declaration for simple types,
* put all other types on a wait queue
*/
-static void walk_type(type_or_ent
*
tore, void *ctx)
+static void walk_type(type_or_ent tore, void *ctx)
{
wenv_t *env = ctx;
ir_type *tp;
{
wenv_t *env = ctx;
ir_type *tp;
- if (
get_kind(tore) == k_type
) {
- tp =
(ir_type *)tore
;
+ if (
is_type(tore.typ)
) {
+ tp =
tore.typ
;
/* ignore the unknown type */
if (tp == firm_unknown_type)
/* ignore the unknown type */
if (tp == firm_unknown_type)