From: Götz Lindenmaier Date: Tue, 20 Jul 2004 11:32:21 +0000 (+0000) Subject: fix for firmjni X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=b7c520e8383aaad6b051a4341cb8bbc4d7f3d893;p=libfirm fix for firmjni [r3521] --- diff --git a/firmjni/Makefile.in b/firmjni/Makefile.in index 762bd2366..911733200 100644 --- a/firmjni/Makefile.in +++ b/firmjni/Makefile.in @@ -64,6 +64,7 @@ MEMBERS += $(IMPL_MEMBERS) FIRM_PATH_HEADERS=common/firm.h common/firm_common.h \ ident/ident.h tv/tv.h \ tr/type.h tr/entity.h tr/type_or_entity.h tr/tpop.h tr/mangle.h \ + tr/type_identify.h \ ir/irprog.h ir/irgraph.h ir/irnode.h ir/irmode.h ir/irop.h \ ir/ircons.h ir/ircgcons.h ir/irflag.h ir/irvrfy.h ir/irdump.h \ ir/iropt.h ir/irgopt.h ir/ircgopt.h \ diff --git a/ir/common/firm.h b/ir/common/firm.h index f386051d4..44c2a21e4 100644 --- a/ir/common/firm.h +++ b/ir/common/firm.h @@ -89,8 +89,8 @@ extern "C" { #include "irouts.h" /* Graph reversal / out edges. */ #include "irdom.h" /* Dominator analysis */ -#include "cgana.h" /* Analysis to construct interprocedural graph - including some optimizations */ +#include "cgana.h" /* Analysis to construct interprocedural graph */ + /* including some optimizations */ #include "irloop.h" /* loop and backedge analysis */ #include "irgmod.h" /* Support to modify ir */ @@ -113,11 +113,11 @@ extern "C" { /** * libFirm initialization parameters. */ -typedef struct _firm_parameter_t { +struct _firm_parameter_t { /** * The size of this structure. init_firm() will only initialize * this amount of data. This allows to add more fields to this structure - * without breaking compatibility to older source + * without breaking compatibility to older source. */ unsigned int size; @@ -146,7 +146,12 @@ typedef struct _firm_parameter_t { */ hash_types_func_t *hash_types_func; -} firm_parameter_t; +}; + + +typedef struct _firm_parameter_t firm_parameter_t; + + /** * Initialize the firm library.