Return the expression result directly.

llvm-svn: 207878
This commit is contained in:
Rui Ueyama 2014-05-02 22:32:01 +00:00
parent 745b6688b4
commit 20822d924e
1 changed files with 1 additions and 3 deletions

View File

@ -162,9 +162,7 @@ bool Resolver::maybeAddSectionGroupOrGnuLinkOnce(const DefinedAtom &atom) {
"Internal Error: The group atom could only be a defined atom");
// The atoms should be of the same content type, reject invalid group
// resolution behaviors.
if (atom.contentType() != prevGroup->contentType())
return false;
return true;
return atom.contentType() == prevGroup->contentType();
}
for (const Reference *r : atom) {