summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit56b662ce0f86c6c8601089bb0903cd066a38d48e (patch)
treeedaccd8708f3dc3e05cb56212b1cf754cbec21ee /llvm/tools/llvm-objdump/MCFunction.h
parente979eda7e0dc03aced5049aed8338b0b8fe8fec5 (diff)
downloadbcm5719-llvm-56b662ce0f86c6c8601089bb0903cd066a38d48e.tar.gz
bcm5719-llvm-56b662ce0f86c6c8601089bb0903cd066a38d48e.zip
Make MemoryObject accessor members const again
llvm-svn: 151687
Diffstat (limited to 'llvm/tools/llvm-objdump/MCFunction.h')
-rw-r--r--llvm/tools/llvm-objdump/MCFunction.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/llvm-objdump/MCFunction.h b/llvm/tools/llvm-objdump/MCFunction.h
index c0362d3a43f..6d3a548d48e 100644
--- a/llvm/tools/llvm-objdump/MCFunction.h
+++ b/llvm/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);
OpenPOWER on IntegriCloud