Merge pull request #3689 from lioncash/unused-var

decode/shift: Remove unused variable within Shift()
This commit is contained in:
Rodrigo Locatti 2020-04-16 02:05:54 -03:00 committed by GitHub
commit a5a2ee8766
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -23,7 +23,6 @@ Node IsFull(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);
return Operation(OperationCode::Select, IsFull(move(shift)), Immediate(0), move(shifted));
}