diff options
Diffstat (limited to 'ARMeilleure/CodeGen/Linking/RelocInfo.cs')
| -rw-r--r-- | ARMeilleure/CodeGen/Linking/RelocInfo.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ARMeilleure/CodeGen/Linking/RelocInfo.cs b/ARMeilleure/CodeGen/Linking/RelocInfo.cs index 922b8bfe..caaf08e3 100644 --- a/ARMeilleure/CodeGen/Linking/RelocInfo.cs +++ b/ARMeilleure/CodeGen/Linking/RelocInfo.cs @@ -17,7 +17,7 @@ namespace ARMeilleure.CodeGen.Linking /// <summary> /// Gets the set of <see cref="RelocEntry"/>. /// </summary> - public ReadOnlySpan<RelocEntry> Entries => _entries ?? Array.Empty<RelocEntry>(); + public ReadOnlySpan<RelocEntry> Entries => _entries; /// <summary> /// Initializes a new instance of the <see cref="RelocInfo"/> struct with the specified set of @@ -26,7 +26,7 @@ namespace ARMeilleure.CodeGen.Linking /// <param name="entries">Set of <see cref="RelocInfo"/> to use</param> public RelocInfo(RelocEntry[] entries) { - _entries = entries ?? Array.Empty<RelocEntry>(); + _entries = entries; } } }
\ No newline at end of file |
