aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen
diff options
context:
space:
mode:
Diffstat (limited to 'lib/CodeGen')
-rw-r--r--lib/CodeGen/CGObjCMac.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/CodeGen/CGObjCMac.cpp b/lib/CodeGen/CGObjCMac.cpp
index e1b14913cd..90ef11e55a 100644
--- a/lib/CodeGen/CGObjCMac.cpp
+++ b/lib/CodeGen/CGObjCMac.cpp
@@ -4989,8 +4989,7 @@ CodeGen::RValue CGObjCNonFragileABIMac::EmitMessageSend(
Name,
&CGM.getModule());
GV->setVisibility(llvm::GlobalValue::HiddenVisibility);
- GV->setAlignment(
- CGM.getTargetData().getPrefTypeAlignment(ObjCTypes.MessageRefTy));
+ GV->setAlignment(16);
GV->setSection("__DATA, __objc_msgrefs, coalesced");
UsedGlobals.push_back(GV);
}