diff options
author | David Chisnall <csdavec@swan.ac.uk> | 2009-08-17 23:18:30 +0000 |
---|---|---|
committer | David Chisnall <csdavec@swan.ac.uk> | 2009-08-17 23:18:30 +0000 |
commit | 91f21c0c8319306121308241795e9c7ba61b0514 (patch) | |
tree | 300f0fbe88948224fab76903e3cbba27e58962f6 /lib/CodeGen/TargetABIInfo.cpp | |
parent | 1e4249c10606f706aac181e6f5e8435ea99d9603 (diff) |
Fixed typo in last commit pointed out by Anton.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79290 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/TargetABIInfo.cpp')
-rw-r--r-- | lib/CodeGen/TargetABIInfo.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/TargetABIInfo.cpp b/lib/CodeGen/TargetABIInfo.cpp index 77b19bdbd1..e28a1940a6 100644 --- a/lib/CodeGen/TargetABIInfo.cpp +++ b/lib/CodeGen/TargetABIInfo.cpp @@ -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()); } |