X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fbeinfo.h;h=c421ea38462e9a4e360e1df81ab815eb5c95fe46;hb=5474a1c188c9d59eea2c915515980cd9cbab58d8;hp=a7a4a0c891c192c18c1385f0e604e644bd41d790;hpb=d2c1b0191844c3c23731158a153838d570dcd65a;p=libfirm diff --git a/ir/be/beinfo.h b/ir/be/beinfo.h index a7a4a0c89..c421ea384 100644 --- a/ir/be/beinfo.h +++ b/ir/be/beinfo.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 1995-2008 University of Karlsruhe. All right reserved. + * Copyright (C) 1995-2011 University of Karlsruhe. All right reserved. * * This file is part of libFirm. * @@ -21,7 +21,6 @@ * @file * @brief additional backend node infos * @author Matthias Braun - * @version $Id$ */ #ifndef FIRM_BE_BEINFO_H #define FIRM_BE_BEINFO_H @@ -55,17 +54,16 @@ struct backend_info_t { static inline backend_info_t *be_get_info(const ir_node *node) { - backend_info_t *info = node->backend_info; - return info; + return (backend_info_t*) node->backend_info; } void be_info_init(void); void be_info_free(void); void be_info_init_irg(ir_graph *irg); -void be_info_new_node(ir_node *node); +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_info_equal(const ir_node *node1, const ir_node *node2); +int be_nodes_equal(const ir_node *node1, const ir_node *node2); #endif