projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
be_abi_put_ignore_regs returns now number of ignore registers as unsigned
[libfirm]
/
ir
/
be
/
beemitter.h
diff --git
a/ir/be/beemitter.h
b/ir/be/beemitter.h
index
cb01c4c
..
6080d81
100644
(file)
--- a/
ir/be/beemitter.h
+++ b/
ir/be/beemitter.h
@@
-17,20
+17,20
@@
* PURPOSE.
*/
* PURPOSE.
*/
-/*
- * Author: Matthias Braun
- * Date: 12.03.2007
- * Copyright: (c) Universitaet Karlsruhe
- * License: This file is protected by GPL - GNU GENERAL PUBLIC LICENSE.
+/**
+ * @file
+ * @brief Interface for assembler output.
+ * @author Matthias Braun
+ * @date 12.03.2007
+ * @version $Id$
*/
#ifndef FIRM_BE_BEEMITTER_H
#define FIRM_BE_BEEMITTER_H
#include <stdio.h>
#include <stdarg.h>
*/
#ifndef FIRM_BE_BEEMITTER_H
#define FIRM_BE_BEEMITTER_H
#include <stdio.h>
#include <stdarg.h>
+#include "firm_types.h"
#include "obst.h"
#include "obst.h"
-#include "ident.h"
-#include "irnode.h"
#include "be.h"
/* framework for emitting data (usually the final assembly code) */
#include "be.h"
/* framework for emitting data (usually the final assembly code) */
@@
-84,7
+84,7
@@
static INLINE void be_emit_string(be_emit_env_t *env, const char *str)
* @param env the emitter environment
* @param str the null-terminated string constant
*/
* @param env the emitter environment
* @param str the null-terminated string constant
*/
-#define be_emit_cstring(env, str)
{ be_emit_string_len(env, str, sizeof(str)-1); }
+#define be_emit_cstring(env, str)
do { be_emit_string_len(env, str, sizeof(str)-1); } while(0)
/**
* Initializes an emitter environment.
/**
* Initializes an emitter environment.
@@
-109,6
+109,14
@@
void be_emit_destroy_env(be_emit_env_t *env);
*/
void be_emit_ident(be_emit_env_t *env, ident *id);
*/
void be_emit_ident(be_emit_env_t *env, ident *id);
+/**
+ * Emit a firm tarval.
+ *
+ * @param env the emitter environment
+ * @param tv the tarval to be emitted
+ */
+void be_emit_tarval(be_emit_env_t *env, tarval *tv);
+
/**
* Emit the output of an ir_printf.
*
/**
* Emit the output of an ir_printf.
*