X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fbeirg.h;h=535125c9e13c5bc24e3193dd13a508529266622f;hb=34e3b8d50bce639e760da7233524a4db85c80290;hp=9c98fd918b5184c0aaebbd6ef14374dc684bf797;hpb=b7da5294a8e35f299bf6651d1844c145dfe5c96f;p=libfirm diff --git a/ir/be/beirg.h b/ir/be/beirg.h index 9c98fd918..535125c9e 100644 --- a/ir/be/beirg.h +++ b/ir/be/beirg.h @@ -1,20 +1,6 @@ /* - * 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. + * Copyright (C) 2012 University of Karlsruhe. */ /** @@ -80,19 +66,18 @@ struct be_stack_layout_t { * backend structures */ typedef struct be_irg_t { - be_main_env_t *main_env; - be_abi_irg_t *abi; - be_lv_t *lv; - be_stack_layout_t stack_layout; - unsigned *allocatable_regs; /**< registers available for the - allocator */ - arch_register_req_t *sp_req; /**< requirements for stackpointer producing - nodes. */ - struct obstack obst; /**< birg obstack (mainly used to keep - register constraints which we can't keep - in the irg obst, because it gets replaced - during code selection) */ - void *isa_link; /**< architecture specific per-graph data*/ + be_main_env_t *main_env; + be_lv_t *lv; + be_stack_layout_t stack_layout; + unsigned *allocatable_regs; /**< registers available for the + allocator */ + arch_register_req_t const *sp_req; /**< requirements for stackpointer producing + nodes. */ + struct obstack obst; /**< birg obstack (mainly used to keep + register constraints which we can't keep + in the irg obst, because it gets replaced + during code selection) */ + void *isa_link; /**< architecture specific per-graph data*/ } be_irg_t; static inline be_irg_t *be_birg_from_irg(const ir_graph *irg) @@ -110,16 +95,6 @@ static inline be_lv_t *be_get_irg_liveness(const ir_graph *irg) return be_birg_from_irg(irg)->lv; } -static inline be_abi_irg_t *be_get_irg_abi(const ir_graph *irg) -{ - return be_birg_from_irg(irg)->abi; -} - -static inline void be_set_irg_abi(ir_graph *irg, be_abi_irg_t *abi) -{ - be_birg_from_irg(irg)->abi = abi; -} - static inline const arch_env_t *be_get_irg_arch_env(const ir_graph *irg) { return be_birg_from_irg(irg)->main_env->arch_env;