summaryrefslogtreecommitdiff
path: root/tools/d2c/pproc.h
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2016-05-22 15:43:43 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2016-05-22 15:43:43 (GMT)
commit7577eadd4e871d467f747c4927a1b1984d6a7606 (patch)
treee72a2fd5c1619e60402a678b0559079ed267eab0 /tools/d2c/pproc.h
parent33aa90b022e7d711a733ca7eb62c0b285f974317 (diff)
Extended the compiler to transform all the new ARMv7 encoding definitions.
Diffstat (limited to 'tools/d2c/pproc.h')
-rw-r--r--tools/d2c/pproc.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/d2c/pproc.h b/tools/d2c/pproc.h
index a2812f8..4ccdf32 100644
--- a/tools/d2c/pproc.h
+++ b/tools/d2c/pproc.h
@@ -25,6 +25,7 @@
#define _TOOLS_D2C_PPROC_H
+#include <stdbool.h>
#include <sys/types.h>
@@ -65,6 +66,12 @@ void define_macro(pre_processor *, const char *, const char *);
/* Recherche l'existence d'une macro pour un remplacement. */
const char *find_macro(const pre_processor *, const char *);
+/* Mémorise une fonction comme produisant un opérateur final. */
+void register_as_operand_producer(pre_processor *, const char *);
+
+/* Détermine si une fonction produit un opérande ou non. */
+bool is_operand_producer(const pre_processor *, const char *);
+
#endif /* _TOOLS_D2C_PPROC_H */