[llvm-commits] CVS: llvm/include/llvm/CodeGen/MachineInstrBuilder.h
Chris Lattner
lattner at cs.uiuc.edu
Wed Mar 31 22:04:00 PST 2004
Changes in directory llvm/include/llvm/CodeGen:
MachineInstrBuilder.h updated: 1.20 -> 1.21
---
Log message:
Allow converting a builder to an iterator
---
Diffs of the changes: (+1 -0)
Index: llvm/include/llvm/CodeGen/MachineInstrBuilder.h
diff -u llvm/include/llvm/CodeGen/MachineInstrBuilder.h:1.20 llvm/include/llvm/CodeGen/MachineInstrBuilder.h:1.21
--- llvm/include/llvm/CodeGen/MachineInstrBuilder.h:1.20 Sat Feb 28 23:06:49 2004
+++ llvm/include/llvm/CodeGen/MachineInstrBuilder.h Wed Mar 31 22:03:10 2004
@@ -35,6 +35,7 @@
/// 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...
///
More information about the llvm-commits
mailing list