summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/ARMMCCodeEmitter.cpp
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2010-10-08 00:21:28 +0000
committerJim Grosbach <grosbach@apple.com>2010-10-08 00:21:28 +0000
commita7b6d58f45096a7996c09ad77f8a8bafd1eca3e1 (patch)
tree04fb4e3972a6cc2133a620f7c908fec09b8d018d /llvm/lib/Target/ARM/ARMMCCodeEmitter.cpp
parent8941142af83243ece14d49c4f7adb551aa19af82 (diff)
downloadbcm5719-llvm-a7b6d58f45096a7996c09ad77f8a8bafd1eca3e1.tar.gz
bcm5719-llvm-a7b6d58f45096a7996c09ad77f8a8bafd1eca3e1.zip
Make <target>CodeEmitter::getBinaryCodeForInstr() a const method.
llvm-svn: 116018
Diffstat (limited to 'llvm/lib/Target/ARM/ARMMCCodeEmitter.cpp')
-rw-r--r--llvm/lib/Target/ARM/ARMMCCodeEmitter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/ARM/ARMMCCodeEmitter.cpp b/llvm/lib/Target/ARM/ARMMCCodeEmitter.cpp
index 35319a473d9..908f6f08b9a 100644
--- a/llvm/lib/Target/ARM/ARMMCCodeEmitter.cpp
+++ b/llvm/lib/Target/ARM/ARMMCCodeEmitter.cpp
@@ -40,7 +40,7 @@ public:
// getBinaryCodeForInstr - TableGen'erated function for getting the
// binary encoding for an instruction.
- unsigned getBinaryCodeForInstr(const MCInst &MI);
+ unsigned getBinaryCodeForInstr(const MCInst &MI) const;
/// getMachineOpValue - Return binary encoding of operand. If the machine
/// operand requires relocation, record the relocation and return zero.
OpenPOWER on IntegriCloud