From: Daniel Dunbar Date: Mon, 9 Mar 2009 20:16:39 +0000 (+0000) Subject: Fix typo in pref commit. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d6e941d37dbf75a20f94b94af377e44c38ab0070;p=clang Fix typo in pref commit. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@66433 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/CGObjCMac.cpp b/lib/CodeGen/CGObjCMac.cpp index ffc40b943b..9922d82fc2 100644 --- a/lib/CodeGen/CGObjCMac.cpp +++ b/lib/CodeGen/CGObjCMac.cpp @@ -1864,7 +1864,7 @@ CGObjCCommonMac::CreateMetadataVar(const std::string &Name, if (Section) GV->setSection(Section); if (SetAlignment) - GV->setAlignment(CGM.getTargetData().getPreferredAlignment(Ty)); + GV->setAlignment(CGM.getTargetData().getPrefTypeAlignment(Ty)); if (IsUsed) UsedGlobals.push_back(GV); return GV;