aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/ExecutionEngine/Interpreter/Execution.cpp
diff options
context:
space:
mode:
authorStepan Dyatkovskiy <stpworld@narod.ru>2012-03-11 06:09:17 +0000
committerStepan Dyatkovskiy <stpworld@narod.ru>2012-03-11 06:09:17 +0000
commit97b02fc1b3d27e0d86cb1203aff77a3104f1a793 (patch)
tree15178ecabb9dd7ac643776849a3e1f226afeff0d /llvm/lib/ExecutionEngine/Interpreter/Execution.cpp
parentfdd417fceed5acd610af14c3fc0621e3c9e1b1b9 (diff)
downloadllvm-97b02fc1b3d27e0d86cb1203aff77a3104f1a793.zip
llvm-97b02fc1b3d27e0d86cb1203aff77a3104f1a793.tar.gz
llvm-97b02fc1b3d27e0d86cb1203aff77a3104f1a793.tar.bz2
llvm::SwitchInst
Renamed methods caseBegin, caseEnd and caseDefault with case_begin, case_end, and case_default. Added some notes relative to case iterators. llvm-svn: 152532
Diffstat (limited to 'llvm/lib/ExecutionEngine/Interpreter/Execution.cpp')
-rw-r--r--llvm/lib/ExecutionEngine/Interpreter/Execution.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/ExecutionEngine/Interpreter/Execution.cpp b/llvm/lib/ExecutionEngine/Interpreter/Execution.cpp
index b021e10..af47be9 100644
--- a/llvm/lib/ExecutionEngine/Interpreter/Execution.cpp
+++ b/llvm/lib/ExecutionEngine/Interpreter/Execution.cpp
@@ -650,7 +650,7 @@ void Interpreter::visitSwitchInst(SwitchInst &I) {
// Check to see if any of the cases match...
BasicBlock *Dest = 0;
- for (SwitchInst::CaseIt i = I.caseBegin(), e = I.caseEnd(); i != e; ++i) {
+ for (SwitchInst::CaseIt i = I.case_begin(), e = I.case_end(); i != e; ++i) {
GenericValue CaseVal = getOperandValue(i.getCaseValue(), SF);
if (executeICMP_EQ(CondVal, CaseVal, ElTy).IntVal != 0) {
Dest = cast<BasicBlock>(i.getCaseSuccessor());