diff options
Diffstat (limited to 'ChocolArm64/Instruction/AInstEmitMemoryHelper.cs')
-rw-r--r-- | ChocolArm64/Instruction/AInstEmitMemoryHelper.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ChocolArm64/Instruction/AInstEmitMemoryHelper.cs b/ChocolArm64/Instruction/AInstEmitMemoryHelper.cs index 6ffcf2dc..df091bd5 100644 --- a/ChocolArm64/Instruction/AInstEmitMemoryHelper.cs +++ b/ChocolArm64/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)); } |