Use ConstF rather than creating an operand.
(useful for pooling in future)
This commit is contained in:
parent
7653e26fbe
commit
589f11c2f7
1 changed files with 2 additions and 2 deletions
|
@ -133,11 +133,11 @@ namespace ARMeilleure.Instructions
|
||||||
|
|
||||||
if (type == OperandType.FP64)
|
if (type == OperandType.FP64)
|
||||||
{
|
{
|
||||||
return context.Call(f64, m, new Operand(0.0), one);
|
return context.Call(f64, m, ConstF(0.0), one);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
return context.Call(f32, m, new Operand(0.0f), one);
|
return context.Call(f32, m, ConstF(0.0f), one);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue