projects
/
cparser
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
firm backend is not optional anymore
[cparser]
/
ast2firm.h
diff --git
a/ast2firm.h
b/ast2firm.h
index
a9ed846
..
279e8da
100644
(file)
--- a/
ast2firm.h
+++ b/
ast2firm.h
@@
-1,6
+1,6
@@
/*
* This file is part of cparser.
/*
* This file is part of cparser.
- * Copyright (C) 2007-200
8
Matthias Braun <matze@braunis.de>
+ * Copyright (C) 2007-200
9
Matthias Braun <matze@braunis.de>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
@@
-20,11
+20,16
@@
#ifndef AST2FIRM_H
#define AST2FIRM_H
#ifndef AST2FIRM_H
#define AST2FIRM_H
+#include <libfirm/firm_types.h>
#include "ast.h"
#include "ast.h"
+#include "type.h"
void translation_unit_to_firm(translation_unit_t *unit);
void init_ast2firm(void);
void exit_ast2firm(void);
void translation_unit_to_firm(translation_unit_t *unit);
void init_ast2firm(void);
void exit_ast2firm(void);
+ir_mode *get_atomic_mode(atomic_type_kind_t kind);
+ir_type *get_ir_type(type_t *type);
+
#endif
#endif