X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;ds=sidebyside;f=ast2firm.h;h=b941f3c0d636d7806d369b4d1ec393b839bb17ea;hb=0a880c90fd6d1ec23c4ec1956f3b92694ec0a139;hp=2314ab3ec278b3079bd0a791a42717573db40c4e;hpb=02f47f268839c472e23095ac0025e5ccbb5ed70a;p=cparser diff --git a/ast2firm.h b/ast2firm.h index 2314ab3..b941f3c 100644 --- a/ast2firm.h +++ b/ast2firm.h @@ -1,6 +1,6 @@ /* * This file is part of cparser. - * Copyright (C) 2007-2008 Matthias Braun + * Copyright (C) 2007-2009 Matthias Braun * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -20,7 +20,7 @@ #ifndef AST2FIRM_H #define AST2FIRM_H -#include +#include #include "ast.h" #include "type.h" @@ -32,4 +32,11 @@ void exit_ast2firm(void); ir_mode *get_atomic_mode(atomic_type_kind_t kind); ir_type *get_ir_type(type_t *type); +typedef ident* (*create_ld_ident_func)(entity_t *entity); + +void set_create_ld_ident(create_ld_ident_func func); + +extern fp_model_t firm_fp_model; +extern ir_mode *atomic_modes[ATOMIC_TYPE_LAST+1]; + #endif