PassManager: Remove SyscallHandler member

This isn't used anymore, so we can get rid of it to further simplify
initialization.
This commit is contained in:
LC committed 2026-07-21 11:28:12 -04:00
1 parent 2893d2b64f
commit fa80d11960
2 files changed
-15

No files matched your search

-2
View File
@@ -404,8 +404,6 @@ void ContextImpl::InitializeCompiler(FEXCore::Core::InternalThreadState* Thread)
Dispatcher->InitThreadPointers(Thread);
Thread->PassManager->RegisterSyscallHandler(SyscallHandler);
// Create CPU backend
Thread->CPUBackend = FEXCore::CPU::CreateArm64JITCore(this, Thread);
-13
View File
@@ -8,23 +8,17 @@ $end_info$
#pragma once
#include <FEXCore/Config/Config.h>
#include <FEXCore/Utils/ThreadPoolAllocator.h>
#include <FEXCore/fextl/memory.h>
#include <FEXCore/fextl/string.h>
#include <FEXCore/fextl/unordered_map.h>
#include <FEXCore/fextl/vector.h>
#include <functional>
#include <utility>
namespace FEXCore::Context {
class ContextImpl;
}
namespace FEXCore::HLE {
class SyscallHandler;
}
namespace FEXCore::IR {
class PassManager;
class IREmitter;
@@ -65,15 +59,8 @@ public:
return NameToPassMaping[Name];
}
void RegisterSyscallHandler(FEXCore::HLE::SyscallHandler* Handler) {
SyscallHandler = Handler;
}
void Finalize();
protected:
FEXCore::HLE::SyscallHandler* SyscallHandler {};
private:
void AddDefaultPasses(Context::ContextImpl* ctx);