mirror of
https://git.suyu.dev/suyu/suyu
synced 2024-12-25 10:52:48 -06:00
macro_jit_x64: Remove unused variable
Removes a completely unused label and marks another variable as unused, given it seems like it has potential uses in the future.
This commit is contained in:
parent
0f7822acb1
commit
8ea749c1ca
1 changed files with 1 additions and 2 deletions
|
@ -54,7 +54,7 @@ void MacroJITx64Impl::Compile_ALU(Macro::Opcode opcode) {
|
||||||
const bool is_a_zero = opcode.src_a == 0;
|
const bool is_a_zero = opcode.src_a == 0;
|
||||||
const bool is_b_zero = opcode.src_b == 0;
|
const bool is_b_zero = opcode.src_b == 0;
|
||||||
const bool valid_operation = !is_a_zero && !is_b_zero;
|
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 has_zero_register = is_a_zero || is_b_zero;
|
||||||
const bool no_zero_reg_skip = opcode.alu_operation == Macro::ALUOperation::AddWithCarry ||
|
const bool no_zero_reg_skip = opcode.alu_operation == Macro::ALUOperation::AddWithCarry ||
|
||||||
opcode.alu_operation == Macro::ALUOperation::SubtractWithBorrow;
|
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);
|
src_b = Compile_GetRegister(opcode.src_b, eax);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Xbyak::Label skip_carry{};
|
|
||||||
|
|
||||||
bool has_emitted = false;
|
bool has_emitted = false;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue