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
2d3d1ee2
Commit
2d3d1ee2
authored
Oct 24, 2014
by
yb9976
Browse files
Assert kind of each operand.
parent
8a8016af
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/ir/irnode.c
View file @
2d3d1ee2
...
...
@@ -154,7 +154,7 @@ void set_irn_in(ir_node *const node, int const arity, ir_node *const *const in)
assert
(
arity
>=
0
);
#ifndef NDEBUG
for
(
int
i
=
0
;
i
<
arity
;
++
i
)
{
assert
(
in
[
i
]
!=
NULL
&&
in
[
0
]
->
kind
==
k_ir_node
);
assert
(
in
[
i
]
!=
NULL
&&
in
[
i
]
->
kind
==
k_ir_node
);
}
#endif
...
...
Write
Preview
Markdown
is supported
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