[binutils-gdb] aarch64: use is_end_of_stmt()
Jan Beulich
jbeulich@sourceware.org
Fri Mar 7 07:13:08 GMT 2025
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=d4bc5a68c5fd44086ad0372b5f31617cace7285a
commit d4bc5a68c5fd44086ad0372b5f31617cace7285a
Author: Jan Beulich <jbeulich@suse.com>
Date: Fri Mar 7 08:10:46 2025 +0100
aarch64: use is_end_of_stmt()
... instead of open-coding it.
Diff:
---
gas/config/tc-aarch64.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gas/config/tc-aarch64.c b/gas/config/tc-aarch64.c
index ff40726ba75..840cf8ce4a2 100644
--- a/gas/config/tc-aarch64.c
+++ b/gas/config/tc-aarch64.c
@@ -2528,7 +2528,7 @@ reg_name_p (char *str, aarch64_reg_type reg_type)
return false;
skip_whitespace (str);
- if (*str == ',' || is_end_of_line[(unsigned char) *str])
+ if (*str == ',' || is_end_of_stmt (*str))
return true;
return false;
More information about the Binutils-cvs
mailing list