]> granicus.if.org Git - clang/commitdiff
trying to fix the windows build broken by r267496
authorKostya Serebryany <kcc@google.com>
Tue, 26 Apr 2016 01:53:49 +0000 (01:53 +0000)
committerKostya Serebryany <kcc@google.com>
Tue, 26 Apr 2016 01:53:49 +0000 (01:53 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@267513 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/TargetInfo.cpp

index 9170d5884f64f50acb50406baad1bd91316f27cc..dcea1a529eeb4c0e361472f450326d8e231836c4 100644 (file)
@@ -6724,7 +6724,7 @@ ABIArgInfo LanaiABIInfo::getIndirectResult(QualType Ty, bool ByVal,
   }
 
   // Compute the byval alignment.
-  constexpr unsigned MinABIStackAlignInBytes = 4;
+  const unsigned MinABIStackAlignInBytes = 4;
   unsigned TypeAlign = getContext().getTypeAlign(Ty) / 8;
   return ABIArgInfo::getIndirect(CharUnits::fromQuantity(4), /*ByVal=*/true,
                                  /*Realign=*/TypeAlign >