Displaying 1 result from an estimated 1 matches for "bb_list".
Did you mean:
cb_list
2009 Jan 16
1
[LLVMdev] Problem using ilist container
...Here is a struct with ilist container as its one element.
typedef ilist<Instruction *> InstListType;
struct list_node {
int Impact;
InstListType InstList;
};
list_node *BB_list=new struct list_node[10];
Instruction *user= { pointing to some instruction object }
//trying to add instruction pointer to ilist.
// this is where i am getting error. ( please find error file attached).
BB_list[index].InstList.push_back(user);
Any thoughts on what's causing this error??...