aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGObjCMac.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-03-09 20:16:39 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-03-09 20:16:39 +0000
commitd6e941d37dbf75a20f94b94af377e44c38ab0070 (patch)
tree203c3dfb009cb6ba24916bf0fae95a28d74fa094 /lib/CodeGen/CGObjCMac.cpp
parentfd65d370b14209e35cdbf7bb3b899b60ef207eab (diff)
Fix typo in pref commit.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@66433 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGObjCMac.cpp')
-rw-r--r--lib/CodeGen/CGObjCMac.cpp2
1 files changed, 1 insertions, 1 deletions
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;