aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/ExecutionEngine/Interpreter/Execution.cpp
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2013-01-31 19:46:59 +0000
committerJim Grosbach <grosbach@apple.com>2013-01-31 19:46:59 +0000
commitb9baa448b95e71252fa67250b7dfc0ba73df4db2 (patch)
tree790fbc7450ab60f298943bc8c7a8908b140a2854 /llvm/lib/ExecutionEngine/Interpreter/Execution.cpp
parent048d2f968403033c9f59980fe0dddfd2c8127e3f (diff)
downloadllvm-b9baa448b95e71252fa67250b7dfc0ba73df4db2.zip
llvm-b9baa448b95e71252fa67250b7dfc0ba73df4db2.tar.gz
llvm-b9baa448b95e71252fa67250b7dfc0ba73df4db2.tar.bz2
interpreter: Fix errant fallthrough.
llvm-svn: 174080
Diffstat (limited to 'llvm/lib/ExecutionEngine/Interpreter/Execution.cpp')
-rw-r--r--llvm/lib/ExecutionEngine/Interpreter/Execution.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/lib/ExecutionEngine/Interpreter/Execution.cpp b/llvm/lib/ExecutionEngine/Interpreter/Execution.cpp
index 431744a..b9a3fc7 100644
--- a/llvm/lib/ExecutionEngine/Interpreter/Execution.cpp
+++ b/llvm/lib/ExecutionEngine/Interpreter/Execution.cpp
@@ -1169,10 +1169,12 @@ void Interpreter::visitVAArgInst(VAArgInst &I) {
.VarArgs[VAList.UIntPairVal.second];
Type *Ty = I.getType();
switch (Ty->getTypeID()) {
- case Type::IntegerTyID: Dest.IntVal = Src.IntVal;
+ case Type::IntegerTyID:
+ Dest.IntVal = Src.IntVal;
IMPLEMENT_VAARG(Pointer);
IMPLEMENT_VAARG(Float);
IMPLEMENT_VAARG(Double);
+ break;
default:
dbgs() << "Unhandled dest type for vaarg instruction: " << *Ty << "\n";
llvm_unreachable(0);