projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sparc: implement float->unsigned conversions
[libfirm]
/
ir
/
be
/
beemitter.c
diff --git
a/ir/be/beemitter.c
b/ir/be/beemitter.c
index
808aa31
..
9b2d6a0
100644
(file)
--- a/
ir/be/beemitter.c
+++ b/
ir/be/beemitter.c
@@
-22,11
+22,11
@@
* @brief Interface for assembler output.
* @author Matthias Braun
* @date 12.03.2007
* @brief Interface for assembler output.
* @author Matthias Braun
* @date 12.03.2007
- * @version $Id$
*/
#include "config.h"
#include "beemitter.h"
*/
#include "config.h"
#include "beemitter.h"
+#include "irnode_t.h"
#include "irprintf.h"
#include "ident.h"
#include "tv.h"
#include "irprintf.h"
#include "ident.h"
#include "tv.h"
@@
-54,7
+54,7
@@
void be_emit_ident(ident *id)
be_emit_string_len(str, len);
}
be_emit_string_len(str, len);
}
-void be_emit_tarval(tarval *tv)
+void be_emit_tarval(
ir_
tarval *tv)
{
char buf[64];
{
char buf[64];
@@
-82,7
+82,7
@@
void be_emit_irprintf(const char *fmt, ...)
void be_emit_write_line(void)
{
size_t len = obstack_object_size(&emit_obst);
void be_emit_write_line(void)
{
size_t len = obstack_object_size(&emit_obst);
- char *line = obstack_finish(&emit_obst);
+ char *line =
(char*)
obstack_finish(&emit_obst);
fwrite(line, 1, len, emit_file);
obstack_free(&emit_obst, line);
fwrite(line, 1, len, emit_file);
obstack_free(&emit_obst, line);