[llvm] r174080 - interpreter: Fix errant fallthrough.
Jim Grosbach
grosbach at apple.com
Thu Jan 31 11:47:00 PST 2013
Author: grosbach
Date: Thu Jan 31 13:46:59 2013
New Revision: 174080
URL: http://llvm.org/viewvc/llvm-project?rev=174080&view=rev
Log:
interpreter: Fix errant fallthrough.
Modified:
llvm/trunk/lib/ExecutionEngine/Interpreter/Execution.cpp
Modified: llvm/trunk/lib/ExecutionEngine/Interpreter/Execution.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/ExecutionEngine/Interpreter/Execution.cpp?rev=174080&r1=174079&r2=174080&view=diff
==============================================================================
--- llvm/trunk/lib/ExecutionEngine/Interpreter/Execution.cpp (original)
+++ llvm/trunk/lib/ExecutionEngine/Interpreter/Execution.cpp Thu Jan 31 13:46:59 2013
@@ -1169,10 +1169,12 @@ void Interpreter::visitVAArgInst(VAArgIn
.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);
More information about the llvm-commits
mailing list