...
This commit is contained in:
@@ -1124,7 +1124,7 @@ public class QBEGenerator
|
||||
{
|
||||
var value = EmitExpression(convertInt.Value);
|
||||
|
||||
if (convertInt.ValueType == convertInt.TargetType || convertInt.ValueType.Width > convertInt.TargetType.Width)
|
||||
if (convertInt.ValueType.Width >= convertInt.TargetType.Width)
|
||||
{
|
||||
return value;
|
||||
}
|
||||
@@ -1156,7 +1156,7 @@ public class QBEGenerator
|
||||
{
|
||||
var value = EmitExpression(convertFloat.Value);
|
||||
|
||||
if (convertFloat.ValueType == convertFloat.TargetType)
|
||||
if (convertFloat.ValueType.Width == convertFloat.TargetType.Width)
|
||||
{
|
||||
return value;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user