From 10786333b3c9c934eeac587e8591f8b23753f72b Mon Sep 17 00:00:00 2001 From: MerryMage Date: Tue, 5 Apr 2016 09:44:30 +0100 Subject: [PATCH] fixup! Make JitX64::CondManager::CurrentCond() const --- src/core/arm/jit_x64/cond.cpp | 2 +- src/core/arm/jit_x64/jit_x64.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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: