]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
aarch64: use is_end_of_stmt()
authorJan Beulich <jbeulich@suse.com>
Fri, 7 Mar 2025 07:10:46 +0000 (08:10 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 7 Mar 2025 07:10:46 +0000 (08:10 +0100)
... instead of open-coding it.

gas/config/tc-aarch64.c

index ff40726ba75fd2c2421e1b356b821f7b56012c2f..840cf8ce4a2fb2fdbd819f728b9a8152d5341a84 100644 (file)
@@ -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;