diff options
author | Dan Gohman <gohman@apple.com> | 2009-08-29 23:37:49 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-08-29 23:37:49 +0000 |
commit | 419055453cdc4f9be4a3ad80f9b49e881d528fe9 (patch) | |
tree | 81416507bf0cfe173663997b755c18c1e2f69618 /lib/AsmParser/LLParser.cpp | |
parent | ed77e52dd972ada58608f5540d3d0d434899114e (diff) |
Minor logic simplification.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80453 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AsmParser/LLParser.cpp')
-rw-r--r-- | lib/AsmParser/LLParser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/AsmParser/LLParser.cpp b/lib/AsmParser/LLParser.cpp index 784672acef..4f7a440c01 100644 --- a/lib/AsmParser/LLParser.cpp +++ b/lib/AsmParser/LLParser.cpp @@ -2501,7 +2501,7 @@ bool LLParser::ParseFunctionHeader(Function *&Fn, bool isDefine) { } } - } else if (FunctionName.empty()) { + } else { // If this is a definition of a forward referenced function, make sure the // types agree. std::map<unsigned, std::pair<GlobalValue*, LocTy> >::iterator I |