#include "irgraph_t.h"
#include "ircons.h"
#include "irflag.h"
-#include "tv.h"
#include "firmstat.h"
/**
in[i] = get_Call_mem(calls);
++i;
}
+ assert(i == n_tail_calls + 1);
+
phis[0] = new_rd_Phi(NULL, irg, block, n_tail_calls + 1, in, mode_M);
/* build the data phi's */
for (i = 0; i < n_preds; ++i) {
ir_node *ret = get_Block_cfgpred(end_block, i);
ir_node *proj_m, *call, *call_ptr;
- tarval *tv;
entity *ent;
int j, n_ress;
ir_node **ress;
if (get_irn_op(call_ptr) != op_SymConst)
continue;
+ if (get_SymConst_kind(call_ptr) != symconst_addr_ent)
+ continue;
+
ent = get_SymConst_entity(call_ptr);
if (!ent || get_entity_irg(ent) != irg)
continue;