mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-26 14:25:18 +00:00
interpreter: Fix errant fallthrough.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174080 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
133f6b8582
commit
cce07c9b31
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user