summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/TargetInfo.cpp
diff options
context:
space:
mode:
authorDerek Schuff <dschuff@google.com>2012-10-11 18:21:13 +0000
committerDerek Schuff <dschuff@google.com>2012-10-11 18:21:13 +0000
commit8a872f3553a180351019ccbae1a0fcd717ae50c5 (patch)
treead67cb12d2470386690689383ebdfbf8650ed43f /clang/lib/CodeGen/TargetInfo.cpp
parentf0246d151803fd47fb660fbaeb109ceb13dbf697 (diff)
downloadbcm5719-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.cpp2
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 {
OpenPOWER on IntegriCloud