summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-09-22 20:11:43 +0000
committerDan Gohman <gohman@apple.com>2010-09-22 20:11:43 +0000
commitba6ca6dd3bc4a7f30e07010c3b0b95cced719f76 (patch)
tree9e5771b0a45081e9eadd8619d62da58ae237a11f
parent38738bf1a847292003a5495f17e42a75d1274bf7 (diff)
downloadllvm-ba6ca6dd3bc4a7f30e07010c3b0b95cced719f76.tar.gz
llvm-ba6ca6dd3bc4a7f30e07010c3b0b95cced719f76.tar.bz2
llvm-ba6ca6dd3bc4a7f30e07010c3b0b95cced719f76.tar.xz
Constify.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114574 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/Analysis/MemoryDependenceAnalysis.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Analysis/MemoryDependenceAnalysis.h b/include/llvm/Analysis/MemoryDependenceAnalysis.h
index f6aab03690..0e3b0f8284 100644
--- a/include/llvm/Analysis/MemoryDependenceAnalysis.h
+++ b/include/llvm/Analysis/MemoryDependenceAnalysis.h
@@ -212,7 +212,7 @@ namespace llvm {
private:
/// ValueIsLoadPair - This is a pair<Value*, bool> where the bool is true if
/// the dependence is a read only dependence, false if read/write.
- typedef PointerIntPair<Value*, 1, bool> ValueIsLoadPair;
+ typedef PointerIntPair<const Value*, 1, bool> ValueIsLoadPair;
/// BBSkipFirstBlockPair - This pair is used when caching information for a
/// block. If the pointer is null, the cache value is not a full query that