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:
e1fd317
)
Remove the non-const getInst accessor. It wasn't being used, and isn't very
author
Eli Bendersky
<eliben@google.com>
Wed, 5 Dec 2012 19:31:33 +0000
(19:31 +0000)
committer
Eli Bendersky
<eliben@google.com>
Wed, 5 Dec 2012 19:31:33 +0000
(19:31 +0000)
good for enacpsulation anyway.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169407
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
18d0010
..
91c743b
100644
(file)
--- a/
include/llvm/MC/MCAssembler.h
+++ b/
include/llvm/MC/MCAssembler.h
@@
-184,10
+184,7
@@
public:
const SmallVectorImpl<char> &getCode() const { return Code; }
unsigned getInstSize() const { return Code.size(); }
-
- MCInst &getInst() { return Inst; }
const MCInst &getInst() const { return Inst; }
-
void setInst(const MCInst& Value) { Inst = Value; }
/// @}