projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make the setInst method take its MCInst parameter by reference, a la Jim's
[oota-llvm.git]
/
include
/
llvm
/
MC
/
MCAssembler.h
diff --git
a/include/llvm/MC/MCAssembler.h
b/include/llvm/MC/MCAssembler.h
index 6965e34998ade09da9626be354566b8e5f8cb5bd..d2b5c80a1a5a22c752e18748151adb5983cd0ab0 100644
(file)
--- a/
include/llvm/MC/MCAssembler.h
+++ b/
include/llvm/MC/MCAssembler.h
@@
-191,7
+191,7
@@
public:
MCInst &getInst() { return Inst; }
const MCInst &getInst() const { return Inst; }
- void setInst(
MCInst
Value) { Inst = Value; }
+ void setInst(
const MCInst&
Value) { Inst = Value; }
/// @}
/// @name Fixup Access