Displaying 1 result from an estimated 1 matches for "instr_pointer".
Did you mean:
instpointer
2004 Feb 13
0
[LLVMdev] ilistification of MachineBasicBlock
...erators (other than
the one being erased of course).
Now since the new container holds instances of MachineInstr objects and
not pointers to them for loops that used to be written as:
for (MachineBasicBlock::iterator i = insts.begin(), e =
insts.end(); i != e; ++) {
MachineInstr* instr_pointer = *i;
MachineInstr& instr_ref = **i;
will need to be changed to:
for (MachineBasicBlock::iterator i = insts.begin(), e =
insts.end(); i != e; ++) {
MachineInstr* instr_pointer = i;
MachineInstr& instr_ref = *i;
Note the implicit conversion from ilist<Ma...