projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
140385e
)
Allow converting a builder to an iterator
author
Chris Lattner
<sabre@nondot.org>
Thu, 1 Apr 2004 04:03:10 +0000
(
04:03
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Thu, 1 Apr 2004 04:03:10 +0000
(
04:03
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12586
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/CodeGen/MachineInstrBuilder.h
patch
|
blob
|
history
diff --git
a/include/llvm/CodeGen/MachineInstrBuilder.h
b/include/llvm/CodeGen/MachineInstrBuilder.h
index 4d63d99e45bfafef1303d45fe8e860eb32dbe3dc..138f8b58d89150d104e8170b886cd77db02a7d7e 100644
(file)
--- a/
include/llvm/CodeGen/MachineInstrBuilder.h
+++ b/
include/llvm/CodeGen/MachineInstrBuilder.h
@@
-35,6
+35,7
@@
public:
/// Allow automatic conversion to the machine instruction we are working on.
///
operator MachineInstr*() const { return MI; }
+ operator MachineBasicBlock::iterator() const { return MI; }
/// addReg - Add a new virtual register operand...
///