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
db079ccd
Commit
db079ccd
authored
Nov 05, 2004
by
FIRM Projekt Account
Browse files
inter_arity bugfix
[r4279]
parent
9a30f4bf
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/ir/irnode_t.h
View file @
db079ccd
...
...
@@ -341,7 +341,7 @@ extern int (*__get_irn_arity)(const ir_node *node);
*/
static
INLINE
ir_node
*
__get_irn_intra_n
(
ir_node
*
node
,
int
n
)
{
assert
(
node
);
assert
(
-
1
<=
n
&&
n
<
__get_irn_arity
(
node
));
assert
(
node
);
assert
(
-
1
<=
n
&&
n
<
__get_irn_
intra_
arity
(
node
));
return
(
node
->
in
[
n
+
1
]
=
skip_Id
(
node
->
in
[
n
+
1
]));
}
...
...
@@ -351,7 +351,7 @@ __get_irn_intra_n (ir_node *node, int n) {
*/
static
INLINE
ir_node
*
__get_irn_inter_n
(
ir_node
*
node
,
int
n
)
{
assert
(
node
);
assert
(
-
1
<=
n
&&
n
<
__get_irn_arity
(
node
));
assert
(
node
);
assert
(
-
1
<=
n
&&
n
<
__get_irn_
inter_
arity
(
node
));
/* handle Filter and Block specially */
if
(
__get_irn_opcode
(
node
)
==
iro_Filter
)
{
...
...
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