projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Simplyfied firm arrays by deleting useless macro and union.
[libfirm]
/
ir
/
tr
/
type_finalization.c
diff --git
a/ir/tr/type_finalization.c
b/ir/tr/type_finalization.c
index
64d8c56
..
7fec331
100644
(file)
--- a/
ir/tr/type_finalization.c
+++ b/
ir/tr/type_finalization.c
@@
-34,8
+34,9
@@
DEBUG_ONLY(static firm_dbg_module_t *dbg;)
DEBUG_ONLY(static firm_dbg_module_t *dbg;)
-static void do_finalization(type_or_ent tore, void *env) {
- ir_type *glob_tp = env;
+static void do_finalization(type_or_ent tore, void *env)
+{
+ ir_type *glob_tp = (ir_type*)env;
if (is_type(tore.typ)) {
ir_type *cls = tore.typ;
if (is_type(tore.typ)) {
ir_type *cls = tore.typ;
@@
-83,9
+84,10
@@
static void do_finalization(type_or_ent tore, void *env) {
* After this is done, all classes and entities that are not overridden
* anymore have the final property set.
*/
* After this is done, all classes and entities that are not overridden
* anymore have the final property set.
*/
-void types_calc_finalization(void) {
- if (! get_opt_closed_world())
- return;
+void types_calc_finalization(void)
+{
+ if (! get_opt_closed_world())
+ return;
FIRM_DBG_REGISTER(dbg, "firm.tr.finalization");
FIRM_DBG_REGISTER(dbg, "firm.tr.finalization");