X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fbearch.h;h=21f11d043e6720356e200979bb861c571f092536;hb=9276447aec4972df060349e162f583c4898dfec8;hp=a041ebce507a89f98c168a8909fcd816301abe1f;hpb=205396c4f4f5abe7abd6dc2350c8c398a7623afc;p=libfirm diff --git a/ir/be/bearch.h b/ir/be/bearch.h index a041ebce5..21f11d043 100644 --- a/ir/be/bearch.h +++ b/ir/be/bearch.h @@ -1,5 +1,30 @@ -#ifndef FIRM_BEARCH_H -#define FIRM_BEARCH_H +/* + * 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 Processor architecture specification. + * @author Sebastian Hack + * @version $Id$ + */ +#ifndef FIRM_BE_BEARCH_H +#define FIRM_BE_BEARCH_H #include "firm_types.h" #include "bitset.h" @@ -115,7 +140,7 @@ extern const arch_irn_ops_t *arch_get_irn_ops(const arch_env_t *env, extern void arch_set_frame_offset(const arch_env_t *env, ir_node *irn, int bias); -extern ir_entity *arch_get_frame_entity(const arch_env_t *env, ir_node *irn); +extern ir_entity *arch_get_frame_entity(const arch_env_t *env, const ir_node *irn); extern void arch_set_frame_entity(const arch_env_t *env, ir_node *irn, ir_entity *ent); extern int arch_get_sp_bias(const arch_env_t *env, ir_node *irn); @@ -268,4 +293,4 @@ extern const arch_irn_handler_t *arch_env_pop_irn_handler(arch_env_t *env); */ void be_register_isa_if(const char *name, const arch_isa_if_t *isa); -#endif +#endif /* FIRM_BE_BEARCH_H */