summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authormerry <MerryMage@users.noreply.github.com>2020-06-20 17:07:58 +0200
committerGitHub <noreply@github.com>2020-06-20 17:07:58 +0200
commit2bd903e021fdad41e67cffb0afdbc0cf6e481b55 (patch)
tree6b80d7857481e0a083ed46c816715e462fdbb1b3 /src/video_core
parentMerge pull request #4099 from MerryMage/macOS-build (diff)
parentmacro_jit_x64: Remove unused variable (diff)
downloadyuzu-2bd903e021fdad41e67cffb0afdbc0cf6e481b55.tar
yuzu-2bd903e021fdad41e67cffb0afdbc0cf6e481b55.tar.gz
yuzu-2bd903e021fdad41e67cffb0afdbc0cf6e481b55.tar.bz2
yuzu-2bd903e021fdad41e67cffb0afdbc0cf6e481b55.tar.lz
yuzu-2bd903e021fdad41e67cffb0afdbc0cf6e481b55.tar.xz
yuzu-2bd903e021fdad41e67cffb0afdbc0cf6e481b55.tar.zst
yuzu-2bd903e021fdad41e67cffb0afdbc0cf6e481b55.zip
Diffstat (limited to 'src/video_core')
-rw-r--r--src/video_core/macro/macro_jit_x64.cpp3
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) {
const bool is_a_zero = opcode.src_a == 0;
const bool is_b_zero = opcode.src_b == 0;
const bool valid_operation = !is_a_zero && !is_b_zero;
- const bool is_move_operation = !is_a_zero && is_b_zero;
+ [[maybe_unused]] const bool is_move_operation = !is_a_zero && is_b_zero;
const bool has_zero_register = is_a_zero || is_b_zero;
const bool no_zero_reg_skip = opcode.alu_operation == Macro::ALUOperation::AddWithCarry ||
opcode.alu_operation == Macro::ALUOperation::SubtractWithBorrow;
@@ -73,7 +73,6 @@ void MacroJITx64Impl::Compile_ALU(Macro::Opcode opcode) {
src_b = Compile_GetRegister(opcode.src_b, eax);
}
}
- Xbyak::Label skip_carry{};
bool has_emitted = false;