[cfe-commits] r79290 - /cfe/trunk/lib/CodeGen/TargetABIInfo.cpp

David Chisnall csdavec at swan.ac.uk
Mon Aug 17 16:18:30 PDT 2009


Author: theraven
Date: Mon Aug 17 18:18:30 2009
New Revision: 79290

URL: http://llvm.org/viewvc/llvm-project?rev=79290&view=rev
Log:
Fixed typo in last commit pointed out by Anton.


Modified:
    cfe/trunk/lib/CodeGen/TargetABIInfo.cpp

Modified: cfe/trunk/lib/CodeGen/TargetABIInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/TargetABIInfo.cpp?rev=79290&r1=79289&r2=79290&view=diff

==============================================================================
--- cfe/trunk/lib/CodeGen/TargetABIInfo.cpp (original)
+++ cfe/trunk/lib/CodeGen/TargetABIInfo.cpp Mon Aug 17 18:18:30 2009
@@ -1526,7 +1526,7 @@
   const char *TargetPrefix = getContext().Target.getTargetPrefix();
   if (strcmp(TargetPrefix, "x86") == 0) {
     bool IsDarwin = strstr(getContext().Target.getTargetTriple(), "darwin");
-    bool isPPCStructReturnABI = IsDarwin ||
+    bool isRegStructReturnABI = IsDarwin ||
        strstr(getContext().Target.getTargetTriple(), "cygwin") ||
        strstr(getContext().Target.getTargetTriple(), "mingw") ||
        strstr(getContext().Target.getTargetTriple(), "netware") ||
@@ -1535,7 +1535,7 @@
     switch (getContext().Target.getPointerWidth(0)) {
     case 32:
       return *(TheABIInfo = 
-          new X86_32ABIInfo(Context, IsDarwin, isPPCStructReturnABI));
+          new X86_32ABIInfo(Context, IsDarwin, isRegStructReturnABI));
     case 64:
       return *(TheABIInfo = new X86_64ABIInfo());
     }





More information about the cfe-commits mailing list