X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fppc32%2Fppc32_map_regs.c;h=939de70ad99785a763c79e6563f5625d86735177;hb=8d07d17eb2ade0b6b4aef0ebd68d6af3cc368b06;hp=6fd6afdea21d7360418897f6573fad09c976e6f1;hpb=863d31d7a5c8210432fef88b30fc3e8353131538;p=libfirm diff --git a/ir/be/ppc32/ppc32_map_regs.c b/ir/be/ppc32/ppc32_map_regs.c index 6fd6afdea..939de70ad 100644 --- a/ir/be/ppc32/ppc32_map_regs.c +++ b/ir/be/ppc32/ppc32_map_regs.c @@ -1,6 +1,27 @@ +/* + * Copyright (C) 1995-2008 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. + */ + /** - * Register mapping for firm nodes. Stolen from bearch_firm :) - * $Id$ + * @file + * @brief Register mapping for firm nodes. Stolen from bearch_firm :) + * @author Moritz Kroll, Jens Mueller + * @version $Id$ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -21,6 +42,7 @@ struct ppc32_irn_reg_assoc { int ppc32_cmp_irn_reg_assoc(const void *a, const void *b, size_t len) { const struct ppc32_irn_reg_assoc *x = a; const struct ppc32_irn_reg_assoc *y = b; + (void) len; return x->irn != y->irn; }