projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
- let the compiler optimize the transformer selection IF there is nothing to select
[libfirm]
/
ir
/
be
/
ia32
/
bearch_ia32_t.h
diff --git
a/ir/be/ia32/bearch_ia32_t.h
b/ir/be/ia32/bearch_ia32_t.h
index
5d8e03d
..
4f8889d
100644
(file)
--- a/
ir/be/ia32/bearch_ia32_t.h
+++ b/
ir/be/ia32/bearch_ia32_t.h
@@
-26,6
+26,7
@@
#ifndef FIRM_BE_IA32_BEARCH_IA32_T_H
#define FIRM_BE_IA32_BEARCH_IA32_T_H
#ifndef FIRM_BE_IA32_BEARCH_IA32_T_H
#define FIRM_BE_IA32_BEARCH_IA32_T_H
+#include "config.h"
#include "pmap.h"
#include "debug.h"
#include "ia32_nodes_attr.h"
#include "pmap.h"
#include "debug.h"
#include "ia32_nodes_attr.h"
@@
-120,9
+121,14
@@
typedef enum transformer_t {
#endif
} transformer_t;
#endif
} transformer_t;
+#ifdef FIRM_GRGEN_BE
/** The selected transformer. */
extern transformer_t be_transformer;
/** The selected transformer. */
extern transformer_t be_transformer;
+#else
+#define be_transformer TRANSFORMER_DEFAULT
+#endif
+
/** The mode for the floating point control word. */
extern ir_mode *mode_fpcw;
/** The mode for the floating point control word. */
extern ir_mode *mode_fpcw;