interpreter: Fix errant fallthrough.
authorJim Grosbach <grosbach@apple.com>
Thu, 31 Jan 2013 19:46:59 +0000 (19:46 +0000)
committerJim Grosbach <grosbach@apple.com>
Thu, 31 Jan 2013 19:46:59 +0000 (19:46 +0000)
llvm-svn: 174080

llvm/lib/ExecutionEngine/Interpreter/Execution.cpp

index 431744a..b9a3fc7 100644 (file)
@@ -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);