diff options
author | Derek Schuff <dschuff@google.com> | 2012-10-11 18:21:13 +0000 |
---|---|---|
committer | Derek Schuff <dschuff@google.com> | 2012-10-11 18:21:13 +0000 |
commit | 8a872f3553a180351019ccbae1a0fcd717ae50c5 (patch) | |
tree | ad67cb12d2470386690689383ebdfbf8650ed43f /clang/lib/CodeGen/TargetInfo.cpp | |
parent | f0246d151803fd47fb660fbaeb109ceb13dbf697 (diff) | |
download | bcm5719-llvm-8a872f3553a180351019ccbae1a0fcd717ae50c5.tar.gz bcm5719-llvm-8a872f3553a180351019ccbae1a0fcd717ae50c5.zip |
Fix build failure from r165722
llvm-svn: 165731
Diffstat (limited to 'clang/lib/CodeGen/TargetInfo.cpp')
-rw-r--r-- | clang/lib/CodeGen/TargetInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/TargetInfo.cpp b/clang/lib/CodeGen/TargetInfo.cpp index 887ca890bce..21318b37c21 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 { |