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)
llvm-svn: 267513

clang/lib/CodeGen/TargetInfo.cpp

index 9170d58..dcea1a5 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 >