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 | 90da80c869eebc5a73bf031af5bedb6f281214fb (patch) | |
tree | b737c83241804d56fbf5c18278757aa7d7bdb5b1 /lib/CodeGen | |
parent | 3ab50fe3fc8311fb68c4f5eb97e9bb3d0041bf1a (diff) |
Fix build failure from r165722
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@165731 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
-rw-r--r-- | lib/CodeGen/TargetInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |