diff --git a/include/FEXCore/IR/IntrusiveIRList.h b/include/FEXCore/IR/IntrusiveIRList.h index e1adc3a8e..85c8cb7fd 100644 --- a/include/FEXCore/IR/IntrusiveIRList.h +++ b/include/FEXCore/IR/IntrusiveIRList.h @@ -1,8 +1,8 @@ #pragma once #include "FEXCore/IR/IR.h" -#include "LogManager.h" +#include #include #include #include @@ -35,7 +35,8 @@ class IntrusiveAllocator final { } void *Allocate(size_t Size) { - LogMan::Throw::A(CheckSize(Size), "Ran out of space in IntrusiveAllocator during allocation"); + assert(CheckSize(Size) && + "Ran out of space in IntrusiveAllocator during allocation"); size_t NewOffset = CurrentOffset + Size; uintptr_t NewPointer = Data + CurrentOffset; CurrentOffset = NewOffset;