]> granicus.if.org Git - clang/commitdiff
Fix build failure from r165722
authorDerek Schuff <dschuff@google.com>
Thu, 11 Oct 2012 18:21:13 +0000 (18:21 +0000)
committerDerek Schuff <dschuff@google.com>
Thu, 11 Oct 2012 18:21:13 +0000 (18:21 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@165731 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/TargetInfo.cpp

index 887ca890bce1b66985134e67a4bbb60ae88165c6..21318b37c21d66d6ae11fed1b97de1c80246f7ec 100644 (file)
@@ -1122,7 +1122,7 @@ class X86_64ABIInfo : public ABIInfo {
 public:
   X86_64ABIInfo(CodeGen::CodeGenTypes &CGT, bool hasavx) :
       ABIInfo(CGT), HasAVX(hasavx),
-      Has64BitPointers(CGT.getDataLayout().getPointerSize() == 8) {
+      Has64BitPointers(CGT.getDataLayout().getPointerSize(0) == 8) {
   }
 
   bool isPassedUsingAVXType(QualType type) const {