diff --git a/src/core/arm/jit_x64/cond.cpp b/src/core/arm/jit_x64/cond.cpp index 69fa11b53..2ba0791dc 100644 --- a/src/core/arm/jit_x64/cond.cpp +++ b/src/core/arm/jit_x64/cond.cpp @@ -140,7 +140,7 @@ void JitX64::CondManager::FlagsDirty() { flags_dirty = true; } -Cond JitX64::CondManager::CurrentCond() { +Cond JitX64::CondManager::CurrentCond() const { return current_cond; } diff --git a/src/core/arm/jit_x64/jit_x64.h b/src/core/arm/jit_x64/jit_x64.h index 5cf40cea0..770158a12 100644 --- a/src/core/arm/jit_x64/jit_x64.h +++ b/src/core/arm/jit_x64/jit_x64.h @@ -140,7 +140,7 @@ private: void CompileCond(Cond cond); void Always(); void FlagsDirty(); - Cond CurrentCond(); + Cond CurrentCond() const; } cond_manager; private: