Commit 746a6b74 authored by Christoph Mallon's avatar Christoph Mallon
Browse files

Do not use && in assert().

parent 8e048fa7
......@@ -138,7 +138,9 @@ new_ir_node(dbg_info *db, ir_graph *irg, ir_node *block, ir_op *op, ir_mode *mod
char *p;
int i;
assert(irg && op && mode);
p = obstack_alloc(irg->obst, node_size);
memset(p, 0, node_size);
res = (ir_node *)(p + firm_add_node_size);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment