projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[patchpoint] Add support for symbolic patchpoint targets to SelectionDAG and the
[oota-llvm.git]
/
include
/
llvm
/
MC
/
MCInstBuilder.h
diff --git
a/include/llvm/MC/MCInstBuilder.h
b/include/llvm/MC/MCInstBuilder.h
index c5acb26eecac3e2a63d2e8870e868eca17626e89..d16f6b5452ee9f4d7542296c6676a051494ef234 100644
(file)
--- a/
include/llvm/MC/MCInstBuilder.h
+++ b/
include/llvm/MC/MCInstBuilder.h
@@
-58,6
+58,12
@@
public:
return *this;
}
+ /// \brief Add an operand.
+ MCInstBuilder &addOperand(const MCOperand &Op) {
+ Inst.addOperand(Op);
+ return *this;
+ }
+
operator MCInst&() {
return Inst;
}