mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-06 09:00:17 +02:00
Core/Thunks: Remove unused IR/forward declarations
Moves the IR include into one of the more specific headers, which avoids dumping the IR header into any core bits that use the interface. Also uncovered a missing header guard.
This commit is contained in:
1 parent
bd0cae9298
commit
d36c387c1f
2 files changed
+5
-14
No files matched your search
@@ -7,18 +7,6 @@ $end_info$
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <FEXCore/fextl/memory.h>
|
||||
#include <FEXCore/fextl/vector.h>
|
||||
#include <FEXCore/IR/IR.h>
|
||||
|
||||
namespace FEXCore::Context {
|
||||
class Context;
|
||||
}
|
||||
|
||||
namespace FEXCore::Core {
|
||||
struct InternalThreadState;
|
||||
}
|
||||
|
||||
namespace FEXCore::IR {
|
||||
struct SHA256Sum;
|
||||
}
|
||||
@@ -28,7 +16,7 @@ typedef void ThunkedFunction(void* ArgsRv);
|
||||
|
||||
class ThunkHandler {
|
||||
public:
|
||||
virtual ~ThunkHandler() = default;
|
||||
virtual ThunkedFunction* LookupThunk(const IR::SHA256Sum& sha256) = 0;
|
||||
virtual ~ThunkHandler() {}
|
||||
};
|
||||
}; // namespace FEXCore
|
||||
} // namespace FEXCore
|
||||
@@ -1,6 +1,9 @@
|
||||
// SPDX-License-Identifier: MIT
|
||||
#pragma once
|
||||
|
||||
#include <FEXCore/Core/Thunks.h>
|
||||
#include <FEXCore/fextl/memory.h>
|
||||
#include <FEXCore/IR/IR.h>
|
||||
|
||||
#include <span>
|
||||
|
||||
|
||||
Reference in new issue
Block a user