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
2fe49604
Commit
2fe49604
authored
Sep 07, 2009
by
Matthias Braun
Browse files
return 0 for number of outputs for nodes without backend info
[r26502]
parent
873b4e57
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/be/bearch.h
View file @
2fe49604
...
...
@@ -726,6 +726,9 @@ struct arch_env_t {
static
inline
unsigned
arch_irn_get_n_outs
(
const
ir_node
*
node
)
{
backend_info_t
*
info
=
be_get_info
(
node
);
if
(
info
->
out_infos
==
NULL
)
return
0
;
return
ARR_LEN
(
info
->
out_infos
);
}
...
...
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