[cfe-commits] r66433 - /cfe/trunk/lib/CodeGen/CGObjCMac.cpp
Daniel Dunbar
daniel at zuster.org
Mon Mar 9 13:16:39 PDT 2009
Author: ddunbar
Date: Mon Mar 9 15:16:39 2009
New Revision: 66433
URL: http://llvm.org/viewvc/llvm-project?rev=66433&view=rev
Log:
Fix typo in pref commit.
Modified:
cfe/trunk/lib/CodeGen/CGObjCMac.cpp
Modified: cfe/trunk/lib/CodeGen/CGObjCMac.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGObjCMac.cpp?rev=66433&r1=66432&r2=66433&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CGObjCMac.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGObjCMac.cpp Mon Mar 9 15:16:39 2009
@@ -1864,7 +1864,7 @@
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;
More information about the cfe-commits
mailing list