[llvm-commits] [llvm-gcc-4.2] r77200 - /llvm-gcc-4.2/trunk/gcc/config/arm/arm.c
Bob Wilson
bob.wilson at apple.com
Mon Jul 27 09:35:49 PDT 2009
Author: bwilson
Date: Mon Jul 27 11:35:42 2009
New Revision: 77200
URL: http://llvm.org/viewvc/llvm-project?rev=77200&view=rev
Log:
Use macros from <safe-ctype.h> now that <ctype.h> is no longer included.
Modified:
llvm-gcc-4.2/trunk/gcc/config/arm/arm.c
Modified: llvm-gcc-4.2/trunk/gcc/config/arm/arm.c
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/config/arm/arm.c?rev=77200&r1=77199&r2=77200&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/config/arm/arm.c (original)
+++ llvm-gcc-4.2/trunk/gcc/config/arm/arm.c Mon Jul 27 11:35:42 2009
@@ -23821,8 +23821,8 @@
{
const char *clobber_name;
clobber_name = TREE_STRING_POINTER (TREE_VALUE (tail));
- if (tolower (clobber_name[0]) == 'q' && isdigit (clobber_name[1])
- && (isdigit (clobber_name[2]) || clobber_name[2] == '\0'))
+ if (TOLOWER (clobber_name[0]) == 'q' && ISDIGIT (clobber_name[1])
+ && (ISDIGIT (clobber_name[2]) || clobber_name[2] == '\0'))
{
char regname[4] = "dXX";
/* found a Q register in the clobber list, so add the D reference
More information about the llvm-commits
mailing list