From 90da80c869eebc5a73bf031af5bedb6f281214fb Mon Sep 17 00:00:00 2001 From: Derek Schuff Date: Thu, 11 Oct 2012 18:21:13 +0000 Subject: [PATCH] Fix build failure from r165722 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@165731 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/TargetInfo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/CodeGen/TargetInfo.cpp b/lib/CodeGen/TargetInfo.cpp index 887ca890bc..21318b37c2 100644 --- a/lib/CodeGen/TargetInfo.cpp +++ b/lib/CodeGen/TargetInfo.cpp @@ -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 { -- 2.50.1