fix: staticcheck and deadcode findings repo-wide, modernize counting loops
This commit is contained in:
@@ -1342,11 +1342,6 @@ func l64Reg(op *ast.Operand) int {
|
||||
return loong64RegNum(operandRegName(op))
|
||||
}
|
||||
|
||||
// l64Imm returns the immediate value of an operand.
|
||||
func l64Imm(op *ast.Operand) int32 {
|
||||
return immFromOperand(op)
|
||||
}
|
||||
|
||||
// l64Imm64 returns the full 64-bit immediate value of an operand.
|
||||
func l64Imm64(op *ast.Operand) int64 {
|
||||
if op.Imm.HasVal {
|
||||
|
||||
Reference in New Issue
Block a user