From 8a872f3553a180351019ccbae1a0fcd717ae50c5 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 llvm-svn: 165731 --- clang/lib/CodeGen/TargetInfo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang/lib/CodeGen/TargetInfo.cpp b/clang/lib/CodeGen/TargetInfo.cpp index 887ca89..21318b3 100644 --- a/clang/lib/CodeGen/TargetInfo.cpp +++ b/clang/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.7.4