diff options
author | Peter Collingbourne <peter@pcc.me.uk> | 2012-04-07 00:40:24 +0000 |
---|---|---|
committer | Peter Collingbourne <peter@pcc.me.uk> | 2012-04-07 00:40:24 +0000 |
commit | 3156f593e4198a6be6406aaf6bbb5cfcb6de860e (patch) | |
tree | 1285bc2abd0f064eafaf7f8adcd474997529fb44 /lib | |
parent | 8c0baabe77c64b87cb11ec9f5b64aaf4571990fd (diff) | |
download | klee-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.cpp | 2 |
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 |