diff options
| author | 2020-06-20 16:07:58 +0100 | |
|---|---|---|
| committer | 2020-06-20 16:07:58 +0100 | |
| commit | 2bd903e021fdad41e67cffb0afdbc0cf6e481b55 (patch) | |
| tree | 6b80d7857481e0a083ed46c816715e462fdbb1b3 | |
| parent | Merge pull request #4099 from MerryMage/macOS-build (diff) | |
| parent | macro_jit_x64: Remove unused variable (diff) | |
| download | yuzu-2bd903e021fdad41e67cffb0afdbc0cf6e481b55.tar.gz yuzu-2bd903e021fdad41e67cffb0afdbc0cf6e481b55.tar.xz yuzu-2bd903e021fdad41e67cffb0afdbc0cf6e481b55.zip | |
Merge pull request #4123 from lioncash/unused-var
macro_jit_x64: Remove unused variable
Diffstat (limited to '')
| -rw-r--r-- | src/video_core/macro/macro_jit_x64.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/video_core/macro/macro_jit_x64.cpp b/src/video_core/macro/macro_jit_x64.cpp index 79434a63c..63e7ca416 100644 --- a/src/video_core/macro/macro_jit_x64.cpp +++ b/src/video_core/macro/macro_jit_x64.cpp | |||
| @@ -54,7 +54,7 @@ void MacroJITx64Impl::Compile_ALU(Macro::Opcode opcode) { | |||
| 54 | const bool is_a_zero = opcode.src_a == 0; | 54 | const bool is_a_zero = opcode.src_a == 0; |
| 55 | const bool is_b_zero = opcode.src_b == 0; | 55 | const bool is_b_zero = opcode.src_b == 0; |
| 56 | const bool valid_operation = !is_a_zero && !is_b_zero; | 56 | const bool valid_operation = !is_a_zero && !is_b_zero; |
| 57 | const bool is_move_operation = !is_a_zero && is_b_zero; | 57 | [[maybe_unused]] const bool is_move_operation = !is_a_zero && is_b_zero; |
| 58 | const bool has_zero_register = is_a_zero || is_b_zero; | 58 | const bool has_zero_register = is_a_zero || is_b_zero; |
| 59 | const bool no_zero_reg_skip = opcode.alu_operation == Macro::ALUOperation::AddWithCarry || | 59 | const bool no_zero_reg_skip = opcode.alu_operation == Macro::ALUOperation::AddWithCarry || |
| 60 | opcode.alu_operation == Macro::ALUOperation::SubtractWithBorrow; | 60 | opcode.alu_operation == Macro::ALUOperation::SubtractWithBorrow; |
| @@ -73,7 +73,6 @@ void MacroJITx64Impl::Compile_ALU(Macro::Opcode opcode) { | |||
| 73 | src_b = Compile_GetRegister(opcode.src_b, eax); | 73 | src_b = Compile_GetRegister(opcode.src_b, eax); |
| 74 | } | 74 | } |
| 75 | } | 75 | } |
| 76 | Xbyak::Label skip_carry{}; | ||
| 77 | 76 | ||
| 78 | bool has_emitted = false; | 77 | bool has_emitted = false; |
| 79 | 78 | ||