summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2011-07-19 23:14:32 +0000
committerEvan Cheng <evan.cheng@apple.com>2011-07-19 23:14:32 +0000
commitccf243d56b3cbbd35df5cbc46af993b5c3d80951 (patch)
tree6433a5acdfa52a8817bb4c7e67cae9d4d36e8a40 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
parent55d6ccbb79bad50258a2131b258bd9e36162b175 (diff)
downloadbcm5719-llvm-ccf243d56b3cbbd35df5cbc46af993b5c3d80951.tar.gz
bcm5719-llvm-ccf243d56b3cbbd35df5cbc46af993b5c3d80951.zip
Fix an obvious typo that's preventing x86 (32-bit) from using .literal16.
llvm-svn: 135535
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
-rw-r--r--llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp b/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
index a3c562013b5..7ec31b8e0f3 100644
--- a/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
+++ b/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
@@ -574,7 +574,7 @@ void TargetLoweringObjectFileMachO::Initialize(MCContext &Ctx,
// to using it in -static mode.
SixteenByteConstantSection = 0;
if (TM.getRelocationModel() != Reloc::Static &&
- TM.getTargetData()->getPointerSize() == 32)
+ TM.getTargetData()->getPointerSizeInBits() == 32)
SixteenByteConstantSection = // .literal16
getContext().getMachOSection("__TEXT", "__literal16",
MCSectionMachO::S_16BYTE_LITERALS,
OpenPOWER on IntegriCloud