mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-06 14:00:16 +02:00
OpcodeDispatcher: Fix inconsistent types in ternary conditional
This commit is contained in:
1 parent
91c55facb2
commit
67caab026a
1 file changed
+4
-1
@@ -2643,7 +2643,10 @@ void OpDispatchBuilder::IMULOp(OpcodeArgs) {
|
||||
}
|
||||
|
||||
// 64-bit special cased to save a move
|
||||
Ref Result = Size < OpSize::i64Bit ? _Mul(OpSize::i64Bit, Src1, Src2) : nullptr;
|
||||
Ref Result {};
|
||||
if (Size < OpSize::i64Bit) {
|
||||
Result = _Mul(OpSize::i64Bit, Src1, Src2);
|
||||
}
|
||||
Ref ResultHigh {};
|
||||
if (Size == OpSize::i8Bit) {
|
||||
// Result is stored in AX
|
||||
|
||||
Reference in new issue
Block a user