X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2FTEMPLATE%2FTEMPLATE_transform.c;h=f345e3dbfd94d1a9ee7e7de9249730bc5fe79937;hb=93da909d12b7bec51aa36ee5f05966c331f90fb9;hp=f502b8f8e1be9c36fb8a2d4b85530966174e324c;hpb=232b108d326a2db9d6fb4c78e2fcf86d4c36a937;p=libfirm diff --git a/ir/be/TEMPLATE/TEMPLATE_transform.c b/ir/be/TEMPLATE/TEMPLATE_transform.c index f502b8f8e..f345e3dbf 100644 --- a/ir/be/TEMPLATE/TEMPLATE_transform.c +++ b/ir/be/TEMPLATE/TEMPLATE_transform.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 1995-2007 University of Karlsruhe. All right reserved. + * Copyright (C) 1995-2008 University of Karlsruhe. All right reserved. * * This file is part of libFirm. * @@ -33,7 +33,6 @@ #include "iredges.h" #include "irvrfy.h" #include "ircons.h" -#include "dbginfo.h" #include "iropt_t.h" #include "debug.h" @@ -41,7 +40,7 @@ #include "bearch_TEMPLATE_t.h" #include "TEMPLATE_nodes_attr.h" -#include "../arch/archop.h" /* we need this for Min and Max nodes */ +#include "archop.h" #include "TEMPLATE_transform.h" #include "TEMPLATE_new_nodes.h" #include "TEMPLATE_map_regs.h" @@ -309,10 +308,13 @@ static ir_node *gen_Store(TEMPLATE_transform_env_t *env) { * @param env the debug module */ void TEMPLATE_transform_node(ir_node *node, void *env) { +#ifdef DEBUG_libfirm TEMPLATE_code_gen_t *cgenv = (TEMPLATE_code_gen_t *)env; +#endif ir_opcode code = get_irn_opcode(node); ir_node *asm_node = NULL; TEMPLATE_transform_env_t tenv; + (void) env; if (is_Block(node)) return;