projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
set the used_x87 flag when a virtual x87 instruction is emitted
[libfirm]
/
ir
/
be
/
beasm_asm_gnu.c
diff --git
a/ir/be/beasm_asm_gnu.c
b/ir/be/beasm_asm_gnu.c
index
531cf0f
..
0484b55
100644
(file)
--- a/
ir/be/beasm_asm_gnu.c
+++ b/
ir/be/beasm_asm_gnu.c
@@
-2,12
+2,15
@@
#include "config.h"
#endif
#include "config.h"
#endif
+#include <assert.h>
+#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include "obst.h"
#include "beasm_asm_gnu.h"
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include "obst.h"
#include "beasm_asm_gnu.h"
+#include "tv.h"
static struct obstack *get_obstack_for_segment ( gnuasm_privdata_t *privdata, asm_segment_t segment ) {
static struct obstack *get_obstack_for_segment ( gnuasm_privdata_t *privdata, asm_segment_t segment ) {
@@
-241,8
+244,8
@@
static void gnuasm_dump_segment_header(void *data) {
assembler_t *gnuasm_create_assembler ( void ) {
assembler_t *gnuasm_create_assembler ( void ) {
- gnuasm_privdata_t *priv_data = malloc ( sizeof(gnuasm_privdata_t ));
- assembler_t *assembler = malloc ( sizeof( assembler_t ));
+ gnuasm_privdata_t *priv_data =
x
malloc ( sizeof(gnuasm_privdata_t ));
+ assembler_t *assembler =
x
malloc ( sizeof( assembler_t ));
memset(assembler, 0, sizeof( assembler_t ));
assembler->private_data = priv_data;
memset(assembler, 0, sizeof( assembler_t ));
assembler->private_data = priv_data;