projects
/
cparser
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
338c2dc
)
use real (firm) output positions instead of C one (this fixes asm_test7.c
author
Matthias Braun
<matze@braunis.de>
Sat, 13 Jun 2009 20:22:06 +0000
(20:22 +0000)
committer
Matthias Braun
<matze@braunis.de>
Sat, 13 Jun 2009 20:22:06 +0000
(20:22 +0000)
[r26137]
ast2firm.c
patch
|
blob
|
history
diff --git
a/ast2firm.c
b/ast2firm.c
index
6cc0c22
..
a13d69d
100644
(file)
--- a/
ast2firm.c
+++ b/
ast2firm.c
@@
-5255,7
+5255,7
@@
static void asm_statement_to_firm(const asm_statement_t *statement)
char buf[64];
ir_node *value = get_value_from_lvalue(expr, addr);
- snprintf(buf, sizeof(buf), "%u",
pos
);
+ snprintf(buf, sizeof(buf), "%u",
out_size
);
ir_asm_constraint constraint;
constraint.pos = pos;