translate_arm: const-correctness (#6)

This commit is contained in:
Mat M 2016-09-02 07:17:02 -04:00 committed by Merry
parent 711b3e29d3
commit ea157dfd52

View file

@ -17,7 +17,7 @@
namespace Dynarmic { namespace Dynarmic {
namespace Arm { namespace Arm {
static bool CondCanContinue(ConditionalState cond_state, IR::IREmitter& ir) { static bool CondCanContinue(ConditionalState cond_state, const IR::IREmitter& ir) {
ASSERT_MSG(cond_state != ConditionalState::Break, "Should never happen."); ASSERT_MSG(cond_state != ConditionalState::Break, "Should never happen.");
if (cond_state == ConditionalState::None) if (cond_state == ConditionalState::None)