summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Scalar/JumpThreading.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2014-02-24 23:12:18 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2014-02-24 23:12:18 +0000
commitaeff8a9c05b1976344c9c865a31071ae3501ce72 (patch)
treece5b1185d92269adc40aa80545cd0b67c9e2131c /llvm/lib/Transforms/Scalar/JumpThreading.cpp
parente68f5d6b69f5328ec16178740abb39975d6b3224 (diff)
downloadbcm5719-llvm-aeff8a9c05b1976344c9c865a31071ae3501ce72.tar.gz
bcm5719-llvm-aeff8a9c05b1976344c9c865a31071ae3501ce72.zip
Make some DataLayout pointers const.
No functionality change. Just reduces the noise of an upcoming patch. llvm-svn: 202087
Diffstat (limited to 'llvm/lib/Transforms/Scalar/JumpThreading.cpp')
-rw-r--r--llvm/lib/Transforms/Scalar/JumpThreading.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Scalar/JumpThreading.cpp b/llvm/lib/Transforms/Scalar/JumpThreading.cpp
index e4b088d82be..d8ac289a7d4 100644
--- a/llvm/lib/Transforms/Scalar/JumpThreading.cpp
+++ b/llvm/lib/Transforms/Scalar/JumpThreading.cpp
@@ -76,7 +76,7 @@ namespace {
/// revectored to the false side of the second if.
///
class JumpThreading : public FunctionPass {
- DataLayout *DL;
+ const DataLayout *DL;
TargetLibraryInfo *TLI;
LazyValueInfo *LVI;
#ifdef NDEBUG
OpenPOWER on IntegriCloud