From f43fe5fd63dc720dd1fa80eb4756cf1c23e1a5e1 Mon Sep 17 00:00:00 2001 From: Tony Wasserka Date: Tue, 12 Mar 2024 10:49:30 +0100 Subject: [PATCH] Allocator: Stop parsing more eagerly This is a soft-revert of eaf83aa. That change is no longer needed, since the stack special case is handled externally now. --- FEXCore/Source/Utils/Allocator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FEXCore/Source/Utils/Allocator.cpp b/FEXCore/Source/Utils/Allocator.cpp index f34ab3a54..c25cdc2ed 100644 --- a/FEXCore/Source/Utils/Allocator.cpp +++ b/FEXCore/Source/Utils/Allocator.cpp @@ -274,7 +274,7 @@ namespace FEXCore::Allocator { if (c == ' ') { STEAL_LOG("[%d] ParseEnd; RegionBegin: %016lX RegionEnd: %016lX\n", __LINE__, RegionBegin, RegionEnd); - if (RegionEnd > End) { + if (RegionEnd >= End) { // Early return if we are completely beyond the allocation space. return Regions; }