X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fbeinfo.h;h=27bbe6e812632f45277f07b896be0efb61f26e5b;hb=b36dd117b8e841f1a3c78588036aed050ffd94e4;hp=c421ea38462e9a4e360e1df81ab815eb5c95fe46;hpb=3e32262d83cf529f74aae833c7557557ab39782a;p=libfirm diff --git a/ir/be/beinfo.h b/ir/be/beinfo.h index c421ea384..27bbe6e81 100644 --- a/ir/be/beinfo.h +++ b/ir/be/beinfo.h @@ -1,20 +1,6 @@ /* - * Copyright (C) 1995-2011 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. */ /** @@ -54,6 +40,7 @@ struct backend_info_t { static inline backend_info_t *be_get_info(const ir_node *node) { + assert(!is_Proj(node)); return (backend_info_t*) node->backend_info; } @@ -61,8 +48,6 @@ void be_info_init(void); void be_info_free(void); void be_info_init_irg(ir_graph *irg); void be_info_new_node(ir_graph *irg, ir_node *node); -void be_info_duplicate(const ir_node *old_node, ir_node *new_node); -int be_info_initialized(const ir_graph *irg); int be_nodes_equal(const ir_node *node1, const ir_node *node2);