projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
changed ir_printf call into DBG output
[libfirm]
/
ir
/
be
/
ia32
/
ia32_new_nodes.c
diff --git
a/ir/be/ia32/ia32_new_nodes.c
b/ir/be/ia32/ia32_new_nodes.c
index
3345f96
..
377c435
100644
(file)
--- a/
ir/be/ia32/ia32_new_nodes.c
+++ b/
ir/be/ia32/ia32_new_nodes.c
@@
-379,8
+379,8
@@
static int ia32_dump_node(ir_node *n, FILE *F, dump_reason_t reason) {
*/
static ident *get_ident_for_tv(tarval *tv) {
char buf[1024];
-
- assert(
tarval_snprintf(buf, sizeof(buf), tv)
);
+ int len = tarval_snprintf(buf, sizeof(buf), tv);
+ assert(
len
);
return new_id_from_str(buf);
}