projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
acc74f2
)
fix warning
author
Matthias Braun
<matze@braunis.de>
Wed, 24 Sep 2008 08:27:27 +0000
(08:27 +0000)
committer
Matthias Braun
<matze@braunis.de>
Wed, 24 Sep 2008 08:27:27 +0000
(08:27 +0000)
[r22229]
ir/opt/opt_inline.c
patch
|
blob
|
history
diff --git
a/ir/opt/opt_inline.c
b/ir/opt/opt_inline.c
index
73bec06
..
b6e368f
100644
(file)
--- a/
ir/opt/opt_inline.c
+++ b/
ir/opt/opt_inline.c
@@
-1938,7
+1938,8
@@
static int calc_inline_benefice(ir_node *call, ir_graph *callee, unsigned *local
inline_irg_env *curr_env, *callee_env;
inline_irg_env *curr_env, *callee_env;
- if (get_entity_additional_properties(ent) & mtp_property_noreturn|mtp_property_weak) {
+ if (get_entity_additional_properties(ent) &
+ (mtp_property_noreturn|mtp_property_weak)) {
/* do NOT inline noreturn or weak calls */
return INT_MIN;
}
/* do NOT inline noreturn or weak calls */
return INT_MIN;
}