emitter: Remove unnecessary else keywords
This commit is contained in:
parent
e88dc7fc6d
commit
a796149c42
|
@ -1376,9 +1376,9 @@ static int GetVEXmmmmm(u16 op)
|
||||||
// Currently, only 0x38 and 0x3A are used as secondary escape byte.
|
// Currently, only 0x38 and 0x3A are used as secondary escape byte.
|
||||||
if ((op >> 8) == 0x3A)
|
if ((op >> 8) == 0x3A)
|
||||||
return 3;
|
return 3;
|
||||||
else if ((op >> 8) == 0x38)
|
if ((op >> 8) == 0x38)
|
||||||
return 2;
|
return 2;
|
||||||
else
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1386,11 +1386,11 @@ static int GetVEXpp(u8 opPrefix)
|
||||||
{
|
{
|
||||||
if (opPrefix == 0x66)
|
if (opPrefix == 0x66)
|
||||||
return 1;
|
return 1;
|
||||||
else if (opPrefix == 0xF3)
|
if (opPrefix == 0xF3)
|
||||||
return 2;
|
return 2;
|
||||||
else if (opPrefix == 0xF2)
|
if (opPrefix == 0xF2)
|
||||||
return 3;
|
return 3;
|
||||||
else
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in New Issue