aboutsummaryrefslogtreecommitdiff
path: root/tools/llvm-objdump/MCFunction.h
diff options
context:
space:
mode:
authorDerek Schuff <dschuff@google.com>2012-02-29 01:09:06 +0000
committerDerek Schuff <dschuff@google.com>2012-02-29 01:09:06 +0000
commitadef06a71458ded0716935a61b3d43d164d4df12 (patch)
treed56aeec7dde89874b58254175d112ba1e5fddcb5 /tools/llvm-objdump/MCFunction.h
parent95fe7b9b7251d33ad4128603087edac70cec7c72 (diff)
Make MemoryObject accessor members const again
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151687 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-objdump/MCFunction.h')
-rw-r--r--tools/llvm-objdump/MCFunction.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/llvm-objdump/MCFunction.h b/tools/llvm-objdump/MCFunction.h
index c0362d3a43..6d3a548d48 100644
--- a/tools/llvm-objdump/MCFunction.h
+++ b/tools/llvm-objdump/MCFunction.h
@@ -79,7 +79,7 @@ public:
// Create an MCFunction from a region of binary machine code.
static MCFunction
createFunctionFromMC(StringRef Name, const MCDisassembler *DisAsm,
- MemoryObject &Region, uint64_t Start, uint64_t End,
+ const MemoryObject &Region, uint64_t Start, uint64_t End,
const MCInstrAnalysis *Ana, raw_ostream &DebugOut,
SmallVectorImpl<uint64_t> &Calls);