1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 03:23:01 +02:00

add a missing operator that caused us to have to use (*MIB).foo everywhere.

llvm-svn: 130473
This commit is contained in:
Chris Lattner 2011-04-29 05:24:07 +00:00
parent 6c6e1622a8
commit 52b19aa2b5

View File

@ -48,6 +48,7 @@ public:
/// Allow automatic conversion to the machine instruction we are working on.
///
operator MachineInstr*() const { return MI; }
MachineInstr *operator->() const { return MI; }
operator MachineBasicBlock::iterator() const { return MI; }
/// addReg - Add a new virtual register operand...