Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Zwinkau
libfirm
Commits
4a91add5
Commit
4a91add5
authored
Dec 07, 2011
by
Matthias Braun
Browse files
bestabs: add missing type kinds
parent
9e7f415c
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/be/bestabs.c
View file @
4a91add5
...
...
@@ -527,41 +527,43 @@ static void walk_type(type_or_ent tore, void *ctx)
case
tpo_class
:
if
(
tp
==
get_glob_type
())
{
SET_TYPE_READY
(
tp
);
b
re
ak
;
re
turn
;
}
/* fall through */
case
tpo_struct
:
case
tpo_union
:
gen_struct_union_type
(
env
,
tp
);
b
re
ak
;
re
turn
;
case
tpo_enumeration
:
gen_enum_type
(
env
->
h
,
tp
);
b
re
ak
;
re
turn
;
case
tpo_primitive
:
gen_primitive_type
(
env
->
h
,
tp
);
b
re
ak
;
re
turn
;
case
tpo_method
:
gen_method_type
(
env
,
tp
);
b
re
ak
;
re
turn
;
case
tpo_array
:
gen_array_type
(
env
,
tp
);
b
re
ak
;
re
turn
;
case
tpo_pointer
:
gen_pointer_type
(
env
,
tp
);
b
re
ak
;
re
turn
;
case
tpo_code
:
case
tpo_none
:
case
tpo_unknown
:
case
tpo_uninitialized
:
/* the unknown type: ignore */
SET_TYPE_READY
(
tp
);
break
;
default:
assert
(
!
"Unknown tpop code"
);
return
;
}
panic
(
"Unknown tpop code"
);
}
/**
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment