diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2010-11-09 23:42:07 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2010-11-09 23:42:07 +0000 |
commit | 9bb44a5ce816092153b740be7938ccf0b96a11fd (patch) | |
tree | 00956d72bf432a48a8297dfd7631148e239dfe7d /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | bb4f8e6f7b9eea983f91d3c918301d02680d1ab2 (diff) | |
download | bcm5719-llvm-9bb44a5ce816092153b740be7938ccf0b96a11fd.tar.gz bcm5719-llvm-9bb44a5ce816092153b740be7938ccf0b96a11fd.zip |
Fixed version of 118639 with an extra assert to catch similar problems
earlier. Implicit bool -> int conversions are evil!
llvm-svn: 118651
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
-rw-r--r-- | llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp b/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp index 6e94a13a89b..944ed26f542 100644 --- a/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp +++ b/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp @@ -262,7 +262,7 @@ getExplicitSectionGlobal(const GlobalValue *GV, SectionKind Kind, return getContext().getELFSection(SectionName, getELFSectionType(SectionName, Kind), - getELFSectionFlags(Kind), Kind, true); + getELFSectionFlags(Kind), Kind); } static const char *getSectionPrefixForUniqueGlobal(SectionKind Kind) { |