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:
4892dff
)
add a missing operator that caused us to have to use (*MIB).foo everywhere.
author
Chris Lattner
<sabre@nondot.org>
Fri, 29 Apr 2011 05:24:07 +0000
(
05:24
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Fri, 29 Apr 2011 05:24:07 +0000
(
05:24
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130473
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 f04dee2b4b0d7c788c2bde378e37c45d9bd241d2..967e0197bb7d992de55c987b59d70d06fc094ef9 100644
(file)
--- a/
include/llvm/CodeGen/MachineInstrBuilder.h
+++ b/
include/llvm/CodeGen/MachineInstrBuilder.h
@@
-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...