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
5cdf5650
Commit
5cdf5650
authored
Mar 27, 2013
by
Christoph Mallon
Browse files
irnode: Assert that set_irn_n() is not used to set a deleted node as new input.
parent
cf4139d8
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/ir/irnode.c
View file @
5cdf5650
...
...
@@ -194,6 +194,7 @@ void set_irn_n(ir_node *node, int n, ir_node *in)
assert
(
-
1
<=
n
);
assert
(
n
<
get_irn_arity
(
node
));
assert
(
in
&&
in
->
kind
==
k_ir_node
);
assert
(
!
is_Deleted
(
in
));
/* Call the hook */
hook_set_irn_n
(
node
,
n
,
in
,
node
->
in
[
n
+
1
]);
...
...
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