]> granicus.if.org Git - clang/commitdiff
Fixed typo in last commit pointed out by Anton.
authorDavid Chisnall <csdavec@swan.ac.uk>
Mon, 17 Aug 2009 23:18:30 +0000 (23:18 +0000)
committerDavid Chisnall <csdavec@swan.ac.uk>
Mon, 17 Aug 2009 23:18:30 +0000 (23:18 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79290 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/TargetABIInfo.cpp

index 77b19bdbd12ae502a13fe7e436e6829d5d2a295b..e28a1940a69bd74f60493bec5b399da241a90495 100644 (file)
@@ -1526,7 +1526,7 @@ const ABIInfo &CodeGenTypes::getABIInfo() const {
   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 @@ const ABIInfo &CodeGenTypes::getABIInfo() const {
     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());
     }