From bdc47319dcb3fa507ec508f2edd7f10f4f510f24 Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Sat, 23 Nov 2019 00:45:46 +1000 Subject: [PATCH] CPU/Recompiler: Remove unused variable --- src/core/cpu_recompiler_code_generator.cpp | 4 ---- src/core/cpu_recompiler_code_generator.h | 2 -- 2 files changed, 6 deletions(-) diff --git a/src/core/cpu_recompiler_code_generator.cpp b/src/core/cpu_recompiler_code_generator.cpp index 0ed12a514..882c6f3ac 100644 --- a/src/core/cpu_recompiler_code_generator.cpp +++ b/src/core/cpu_recompiler_code_generator.cpp @@ -169,10 +169,6 @@ bool CodeGenerator::CompileInstruction(const CodeBlockInstruction& cbi) break; } - // release temporary effective addresses - for (Value& value : m_operand_memory_addresses) - value.ReleaseAndClear(); - return result; } diff --git a/src/core/cpu_recompiler_code_generator.h b/src/core/cpu_recompiler_code_generator.h index f52fa16a5..c21668d11 100644 --- a/src/core/cpu_recompiler_code_generator.h +++ b/src/core/cpu_recompiler_code_generator.h @@ -198,8 +198,6 @@ private: u32 m_delayed_pc_add = 0; TickCount m_delayed_cycles_add = 0; - std::array m_operand_memory_addresses{}; - // whether various flags need to be reset. bool m_current_instruction_in_branch_delay_slot_dirty = false; bool m_branch_was_taken_dirty = false;