Some cleanup

This commit is contained in:
riperiperi 2024-06-24 21:18:01 +01:00
parent aa3b1e8996
commit a37f65e87d
5 changed files with 39 additions and 14 deletions

View file

@ -205,7 +205,7 @@ namespace ARMeilleure.Instructions
hostAddress = context.Load(OperandType.I64, hostAddressAddr);
}
else if (table.Levels.Length == 2)
else if (table.Sparse && table.Levels.Length == 2)
{
// Inline table lookup. Only enabled when the sparse function table is enabled with 2 levels.
// Deliberately attempts to avoid branches.