[cfe-commits] r165731 - /cfe/trunk/lib/CodeGen/TargetInfo.cpp

Derek Schuff dschuff at google.com
Thu Oct 11 11:21:14 PDT 2012


Author: dschuff
Date: Thu Oct 11 13:21:13 2012
New Revision: 165731

URL: http://llvm.org/viewvc/llvm-project?rev=165731&view=rev
Log:
Fix build failure from r165722

Modified:
    cfe/trunk/lib/CodeGen/TargetInfo.cpp

Modified: cfe/trunk/lib/CodeGen/TargetInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/TargetInfo.cpp?rev=165731&r1=165730&r2=165731&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/TargetInfo.cpp (original)
+++ cfe/trunk/lib/CodeGen/TargetInfo.cpp Thu Oct 11 13:21:13 2012
@@ -1122,7 +1122,7 @@
 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 {





More information about the cfe-commits mailing list