aboutsummaryrefslogtreecommitdiff
path: root/src/ARMeilleure/Translation/EmitterContext.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/ARMeilleure/Translation/EmitterContext.cs')
-rw-r--r--src/ARMeilleure/Translation/EmitterContext.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ARMeilleure/Translation/EmitterContext.cs b/src/ARMeilleure/Translation/EmitterContext.cs
index 8fcb4dee..88bfe133 100644
--- a/src/ARMeilleure/Translation/EmitterContext.cs
+++ b/src/ARMeilleure/Translation/EmitterContext.cs
@@ -108,9 +108,9 @@ namespace ARMeilleure.Translation
protected static OperandType GetOperandType(Type type)
{
- if (type == typeof(bool) || type == typeof(byte) ||
- type == typeof(char) || type == typeof(short) ||
- type == typeof(int) || type == typeof(sbyte) ||
+ if (type == typeof(bool) || type == typeof(byte) ||
+ type == typeof(char) || type == typeof(short) ||
+ type == typeof(int) || type == typeof(sbyte) ||
type == typeof(ushort) || type == typeof(uint))
{
return OperandType.I32;
@@ -635,7 +635,7 @@ namespace ARMeilleure.Translation
private void NewNextBlock()
{
- BasicBlock block = new BasicBlock(_irBlocks.Count);
+ BasicBlock block = new(_irBlocks.Count);
_irBlocks.AddLast(block);