summaryrefslogtreecommitdiffstats
path: root/llvm/include
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
commitba28207dcd9b0ee78d5f3ea24219198212396674 (patch)
tree13085e54f5026184b234e73154575f26b57df39d /llvm/include
parent0e527b7ed524c7355c6b8488cdccb7c6655ccc43 (diff)
downloadbcm5719-llvm-ba28207dcd9b0ee78d5f3ea24219198212396674.tar.gz
bcm5719-llvm-ba28207dcd9b0ee78d5f3ea24219198212396674.zip
Constify.
llvm-svn: 114574
Diffstat (limited to 'llvm/include')
-rw-r--r--llvm/include/llvm/Analysis/MemoryDependenceAnalysis.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/Analysis/MemoryDependenceAnalysis.h b/llvm/include/llvm/Analysis/MemoryDependenceAnalysis.h
index f6aab03690f..0e3b0f82840 100644
--- a/llvm/include/llvm/Analysis/MemoryDependenceAnalysis.h
+++ b/llvm/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
OpenPOWER on IntegriCloud