X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fana%2Ftrouts.c;h=6af8dd7706f6af3e66e3ba5f5aebe6c546b7bf33;hb=2088953d1501fb6aeec55b96decaab659703471c;hp=0d12f4abf7cb15d9f3c513638a370562d844325a;hpb=863d31d7a5c8210432fef88b30fc3e8353131538;p=libfirm diff --git a/ir/ana/trouts.c b/ir/ana/trouts.c index 0d12f4abf..6af8dd770 100644 --- a/ir/ana/trouts.c +++ b/ir/ana/trouts.c @@ -1,15 +1,29 @@ /* - * Project: libFIRM - * File name: ir/ana/trouts.c - * Purpose: Reverse edges that reference types/entities. - * Author: Goetz Lindenmaier - * Modified by: - * Created: 29.10.2004 - * CVS-ID: $Id$ - * Copyright: (c) 2004 Universität Karlsruhe - * Licence: This file protected by GPL - GNU GENERAL PUBLIC LICENSE. + * Copyright (C) 1995-2007 University of Karlsruhe. All right reserved. + * + * This file is part of libFirm. + * + * This file may be distributed and/or modified under the terms of the + * GNU General Public License version 2 as published by the Free Software + * Foundation and appearing in the file LICENSE.GPL included in the + * packaging of this file. + * + * Licensees holding valid libFirm Professional Edition licenses may use + * this file in accordance with the libFirm Commercial License. + * Agreement provided with the Software. + * + * This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE + * WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR + * PURPOSE. */ +/** + * @file + * @brief Reverse edges that reference types/entities. + * @author Goetz Lindenmaier + * @date 29.10.2004 + * @version $Id$ + */ #ifdef HAVE_CONFIG_H #include "config.h" #endif @@ -465,7 +479,8 @@ static void init_trouts(void) { /** The number of entities that can be accessed by this Sel node. */ static int get_Sel_n_accessed_entities(ir_node *sel) { - return 1; + (void) sel; + return 1; } /** The entity that cat be accessed by this Sel node. */ @@ -526,6 +541,7 @@ static void chain_accesses(ir_node *n, void *env) { int i, n_ents; ir_node *addr; + (void) env; if (get_irn_op(n) == op_Alloc) { add_type_alloc(get_Alloc_type(n), n); return;