* @file
* @brief Optimization of function calls.
* @author Michael Beck
- * @version $Id$
*/
#include "config.h"
or_prop = 0;
for (i = 0; i < n_callees; ++i) {
ent = get_Call_callee(call, i);
- if (ent == unknown_entity) {
+ if (is_unknown_entity(ent)) {
/* we don't know which entity is called here */
return;
}
prop = mtp_property_nothrow;
for (i = 0; i < n_callees; ++i) {
ent = get_Call_callee(call, i);
- if (ent == unknown_entity) {
+ if (is_unknown_entity(ent)) {
/* we don't know which entity is called here */
return;
}
for (i = 0; i < n_callees; ++i) {
ir_entity *ent = get_Call_callee(res, i);
- if (ent == unknown_entity) {
+ if (is_unknown_entity(ent)) {
/* we don't know which entity is called here */
curr_prop &= ~mtp_property_malloc;
break;
for (i = 0; i < n_callees; ++i) {
ir_entity *ent = get_Call_callee(pred, i);
- if (ent == unknown_entity) {
+ if (is_unknown_entity(ent)) {
/* we don't know which entity is called here */
curr_prop &= ~mtp_property_nothrow;
break;