[CPUBackend] Add custom dispatch virtual functions to be implemented

This commit is contained in:
Ryan Houdek authored and Stefanos Kornilios Mitsis Poiitidis committed 2020-03-06 07:52:36 +02:00
1 parent 0d20ec0f2c
commit 925ce8b35e
1 file changed
+5
+5
View File
@@ -11,6 +11,7 @@ namespace IR {
namespace Core {
struct DebugData;
struct ThreadState;
}
namespace CPU {
@@ -68,6 +69,10 @@ class LLVMCore;
* @return true if it needs the IR
*/
virtual bool NeedsOpDispatch() = 0;
virtual bool HasCustomDispatch() const { return false; }
virtual void ExecuteCustomDispatch(FEXCore::Core::ThreadState *Thread) {}
};
}