Correct constant operand type on CSINC
This commit is contained in:
parent
0ca624a9da
commit
03993e4288
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ namespace ARMeilleure.Instructions
|
||||||
|
|
||||||
if (cselOp == CselOperation.Increment)
|
if (cselOp == CselOperation.Increment)
|
||||||
{
|
{
|
||||||
m = context.IAdd(m, Const(1));
|
m = context.IAdd(m, Const(m.Type, 1));
|
||||||
}
|
}
|
||||||
else if (cselOp == CselOperation.Invert)
|
else if (cselOp == CselOperation.Invert)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue