about summary refs log tree commit diff homepage
path: root/lib
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2012-04-07 00:40:24 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2012-04-07 00:40:24 +0000
commit3156f593e4198a6be6406aaf6bbb5cfcb6de860e (patch)
tree1285bc2abd0f064eafaf7f8adcd474997529fb44 /lib
parent8c0baabe77c64b87cb11ec9f5b64aaf4571990fd (diff)
downloadklee-3156f593e4198a6be6406aaf6bbb5cfcb6de860e.tar.gz
Fix compilation with LLVM trunk.
Patch by arrowdodger!

git-svn-id: https://llvm.org/svn/llvm-project/klee/trunk@154238 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Module/LowerSwitch.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Module/LowerSwitch.cpp b/lib/Module/LowerSwitch.cpp
index 9ccf4804..e5382c1a 100644
--- a/lib/Module/LowerSwitch.cpp
+++ b/lib/Module/LowerSwitch.cpp
@@ -117,7 +117,7 @@ void LowerSwitchPass::processSwitchInst(SwitchInst *SI) {
   CaseVector cases;
   
 #if LLVM_VERSION_CODE >= LLVM_VERSION(3, 1)
-  for (SwitchInst::CaseIt i = SI->caseBegin(), e = SI->caseEnd(); i != e; ++i)
+  for (SwitchInst::CaseIt i = SI->case_begin(), e = SI->case_end(); i != e; ++i)
     cases.push_back(SwitchCase(i.getCaseValue(),
                                i.getCaseSuccessor()));
 #else