Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Zwinkau
libfirm
Commits
746a6b74
Commit
746a6b74
authored
Aug 25, 2008
by
Christoph Mallon
Browse files
Do not use && in assert().
[r21459]
parent
8e048fa7
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/ir/irnode.c
View file @
746a6b74
...
...
@@ -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
);
assert
(
irg
);
assert
(
op
);
assert
(
mode
);
p
=
obstack_alloc
(
irg
->
obst
,
node_size
);
memset
(
p
,
0
,
node_size
);
res
=
(
ir_node
*
)(
p
+
firm_add_node_size
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment