mirror of
https://github.com/yuzu-mirror/yuzu.git
synced 2024-11-03 12:10:00 +00:00
decode/shift: Remove unused variable within Shift()
Removes a redundant variable that is already satisfied by the IsFull() utility function.
This commit is contained in:
parent
e33196d4e7
commit
cd2a12e78f
1 changed files with 0 additions and 1 deletions
|
@ -23,7 +23,6 @@ Node IsFull(Node shift) {
|
||||||
}
|
}
|
||||||
|
|
||||||
Node Shift(OperationCode opcode, Node value, Node shift) {
|
Node Shift(OperationCode opcode, Node value, Node shift) {
|
||||||
Node is_full = Operation(OperationCode::LogicalIEqual, shift, Immediate(32));
|
|
||||||
Node shifted = Operation(opcode, move(value), shift);
|
Node shifted = Operation(opcode, move(value), shift);
|
||||||
return Operation(OperationCode::Select, IsFull(move(shift)), Immediate(0), move(shifted));
|
return Operation(OperationCode::Select, IsFull(move(shift)), Immediate(0), move(shifted));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue