X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fana%2Fphiclass.c;h=f9b4de3eaacbf2d352a2c30cb14b1b6055a871b4;hb=4853d5f7a9a07cb9d1374fb2dd1f75554e0036ae;hp=4b5397d47ec22a46b1317eb9ebb7795b29429e73;hpb=974215da1a935f250766874d0f7a7ddfa34bc4ef;p=libfirm diff --git a/ir/ana/phiclass.c b/ir/ana/phiclass.c index 4b5397d47..f9b4de3ea 100644 --- a/ir/ana/phiclass.c +++ b/ir/ana/phiclass.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 1995-2007 University of Karlsruhe. All right reserved. + * Copyright (C) 1995-2008 University of Karlsruhe. All right reserved. * * This file is part of libFirm. * @@ -64,8 +64,9 @@ static INLINE void _set_phi_class(ir_phase *ph, ir_node *irn, ir_node ***cls) { } /* initialize data structure for given irn in given phase */ -static void *irn_phi_class_init(ir_phase *ph, ir_node *irn, void *data) { +static void *irn_phi_class_init(ir_phase *ph, const ir_node *irn, void *data) { irn_phi_class_t *ipc = data ? data : phase_alloc(ph, sizeof(ipc[0])); + (void) irn; memset(ipc, 0, sizeof(ipc[0])); return ipc; }