Fixed an incorrect abort message on out of bounds array access.

This commit is contained in:
Chronos Ouroboros 2020-08-26 18:16:04 -03:00
commit 2e2ee33a98
2 changed files with 4 additions and 4 deletions

View file

@ -310,7 +310,7 @@ void JitCompiler::ThrowArrayOutOfBounds(int index, int size)
{
if (index >= size)
{
ThrowAbortException(X_ARRAY_OUT_OF_BOUNDS, "Max.index = %u, current index = %u\n", size, index);
ThrowAbortException(X_ARRAY_OUT_OF_BOUNDS, "Size = %u, current index = %u\n", size, index);
}
else
{