mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-07-18 12:29:27 +00:00
Allow converting a builder to an iterator
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12586 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
140385e0ac
commit
024e91f6f6
@ -35,6 +35,7 @@ public:
|
|||||||
/// Allow automatic conversion to the machine instruction we are working on.
|
/// Allow automatic conversion to the machine instruction we are working on.
|
||||||
///
|
///
|
||||||
operator MachineInstr*() const { return MI; }
|
operator MachineInstr*() const { return MI; }
|
||||||
|
operator MachineBasicBlock::iterator() const { return MI; }
|
||||||
|
|
||||||
/// addReg - Add a new virtual register operand...
|
/// addReg - Add a new virtual register operand...
|
||||||
///
|
///
|
||||||
|
Loading…
Reference in New Issue
Block a user