OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a5bc5a
)
Make the setInst method take its MCInst parameter by reference, a la Jim's
author
Lang Hames
<lhames@gmail.com>
Thu, 23 Aug 2012 07:00:48 +0000
(07:00 +0000)
committer
Lang Hames
<lhames@gmail.com>
Thu, 23 Aug 2012 07:00:48 +0000
(07:00 +0000)
change in r162404.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162431
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/MC/MCAssembler.h
patch
|
blob
|
history
diff --git
a/include/llvm/MC/MCAssembler.h
b/include/llvm/MC/MCAssembler.h
index
6965e34
..
d2b5c80
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