Improved logging (#103)
This commit is contained in:
parent
d45a67fd36
commit
27ed5ed039
1 changed files with 2 additions and 2 deletions
|
@ -87,7 +87,7 @@ namespace ChocolArm64.Instruction
|
||||||
: nameof(AMemory.ReadUInt64); break;
|
: nameof(AMemory.ReadUInt64); break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Context.EmitCall(typeof(AMemory), Name);
|
Context.EmitCall(typeof(AMemory), Name);
|
||||||
|
|
||||||
if (!IsSimd)
|
if (!IsSimd)
|
||||||
|
@ -119,7 +119,7 @@ namespace ChocolArm64.Instruction
|
||||||
string Name = null;
|
string Name = null;
|
||||||
|
|
||||||
if (Size < 0 || Size > (IsSimd ? 4 : 3))
|
if (Size < 0 || Size > (IsSimd ? 4 : 3))
|
||||||
{
|
{
|
||||||
throw new ArgumentOutOfRangeException(nameof(Size));
|
throw new ArgumentOutOfRangeException(nameof(Size));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue