Merge pull request #13954 from TryTwo/debug_crash_fix

Crash fix: Add debug check to JIT Profiling bool.
This commit is contained in:
JMC47 2025-09-26 17:15:02 -04:00 committed by GitHub
commit 8f9c335633
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -197,7 +197,7 @@ public:
JitBase& operator=(JitBase&&) = delete;
~JitBase() override;
bool IsProfilingEnabled() const { return m_enable_profiling; }
bool IsProfilingEnabled() const { return m_enable_profiling && m_enable_debugging; }
bool IsDebuggingEnabled() const { return m_enable_debugging; }
static const u8* Dispatch(JitBase& jit);