Improved logging (#103)

This commit is contained in:
gdkchan 2018-04-24 15:57:39 -03:00 committed by GitHub
parent d45a67fd36
commit 27ed5ed039

View file

@ -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));
} }