X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fbestabs.c;h=6681423f2ae7fd32387837c3e96f48a5962cfbcc;hb=44fdfafcf4d8940cbdc92266b091f18c62832d3a;hp=501e7bb3eb7556e36b9e1c6a11c5d46e8ab7136a;hpb=e07b61c6ed5d198a484761f8a40a4f26520d964d;p=libfirm diff --git a/ir/be/bestabs.c b/ir/be/bestabs.c index 501e7bb3e..6681423f2 100644 --- a/ir/be/bestabs.c +++ b/ir/be/bestabs.c @@ -24,9 +24,7 @@ * @date 11.9.2006 * @version $Id$ */ -#ifdef HAVE_CONFIG_H -# include "config.h" -#endif +#include "config.h" #include #include @@ -818,15 +816,10 @@ static const debug_ops stabs_ops = { /* Opens a stabs handler */ dbg_handle *be_stabs_open(void) { - stabs_handle *h = XMALLOC(stabs_handle); + stabs_handle *h = XMALLOCZ(stabs_handle); h->base.ops = &stabs_ops; - h->cur_ent = NULL; - h->layout = NULL; - h->next_type_nr = 0; h->type_map = pmap_create_ex(64); - h->main_file = NULL; - h->curr_file = NULL; return &h->base; }