mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-13 14:35:54 +00:00
[ExecutionEngine] Fix rL362941: Add UnaryOperator visitor to the interpreter
Missed break statements. This was D62881. llvm-svn: 362958
This commit is contained in:
parent
11994dfd02
commit
f23300211d
@ -50,8 +50,10 @@ static void executeFNegInst(GenericValue &Dest, GenericValue Src, Type *Ty) {
|
||||
switch (Ty->getTypeID()) {
|
||||
case Type::FloatTyID:
|
||||
Dest.FloatVal = -Src.FloatVal;
|
||||
break;
|
||||
case Type::DoubleTyID:
|
||||
Dest.DoubleVal = -Src.DoubleVal;
|
||||
break;
|
||||
default:
|
||||
llvm_unreachable("Unhandled type for FNeg instruction");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user