X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2FTEMPLATE%2Fbearch_TEMPLATE_t.h;h=671976a1cc95934ee018cd2b1ed8e14f7e04a559;hb=fc2759fa267ba4b074c2ac570c1b9d47cc943612;hp=259f1d56e598e17ed64a0a4b535dbe60fced2da9;hpb=232b108d326a2db9d6fb4c78e2fcf86d4c36a937;p=libfirm diff --git a/ir/be/TEMPLATE/bearch_TEMPLATE_t.h b/ir/be/TEMPLATE/bearch_TEMPLATE_t.h index 259f1d56e..671976a1c 100644 --- a/ir/be/TEMPLATE/bearch_TEMPLATE_t.h +++ b/ir/be/TEMPLATE/bearch_TEMPLATE_t.h @@ -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. * @@ -16,19 +16,24 @@ * WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR * PURPOSE. */ -#ifndef FIRM_BE_IA32_BEARCH_TEMPLATE_T_H -#define FIRM_BE_IA32_BEARCH_TEMPLATE_T_H + +/** + * @file + * @brief declarations for TEMPALTE backend -- private header + * @version $Id$ + */ +#ifndef FIRM_BE_TEMPLATE_BEARCH_TEMPLATE_T_H +#define FIRM_BE_TEMPLATE_BEARCH_TEMPLATE_T_H #include "debug.h" #include "bearch_TEMPLATE.h" #include "TEMPLATE_nodes_attr.h" -#include "../be.h" +#include "be.h" #include "../beemitter.h" #include "set.h" typedef struct TEMPLATE_isa_t TEMPLATE_isa_t; typedef struct TEMPLATE_code_gen_t TEMPLATE_code_gen_t; -typedef struct TEMPLATE_irn_ops_t TEMPLATE_irn_ops_t; typedef struct TEMPLATE_transform_env_t TEMPLATE_transform_env_t; struct TEMPLATE_code_gen_t { @@ -42,13 +47,7 @@ struct TEMPLATE_code_gen_t { }; struct TEMPLATE_isa_t { - arch_isa_t arch_isa; /**< must be derived from arch_isa */ - be_emit_env_t emit; /**< emit datastructure */ -}; - -struct TEMPLATE_irn_ops_t { - const arch_irn_ops_if_t *impl; - TEMPLATE_code_gen_t *cg; + arch_env_t arch_env; /**< must be derived from arch_isa */ }; /**