From 27ed5ed039ee13716ec799e5bc48ca3c81a2adcd Mon Sep 17 00:00:00 2001 From: gdkchan Date: Tue, 24 Apr 2018 15:57:39 -0300 Subject: [PATCH] Improved logging (#103) --- Instruction/AInstEmitMemoryHelper.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Instruction/AInstEmitMemoryHelper.cs b/Instruction/AInstEmitMemoryHelper.cs index 6ffcf2d..df091bd 100644 --- a/Instruction/AInstEmitMemoryHelper.cs +++ b/Instruction/AInstEmitMemoryHelper.cs @@ -87,7 +87,7 @@ namespace ChocolArm64.Instruction : nameof(AMemory.ReadUInt64); break; } } - + Context.EmitCall(typeof(AMemory), Name); if (!IsSimd) @@ -119,7 +119,7 @@ namespace ChocolArm64.Instruction string Name = null; if (Size < 0 || Size > (IsSimd ? 4 : 3)) - { + { throw new ArgumentOutOfRangeException(nameof(Size)); }