commit | 419055453cdc4f9be4a3ad80f9b49e881d528fe9 | [log] [tgz] |
---|---|---|
author | Dan Gohman <gohman@apple.com> | Sat Aug 29 23:37:49 2009 +0000 |
committer | Dan Gohman <gohman@apple.com> | Sat Aug 29 23:37:49 2009 +0000 |
tree | 81416507bf0cfe173663997b755c18c1e2f69618 | |
parent | ed77e52dd972ada58608f5540d3d0d434899114e [diff] [blame] |
Minor logic simplification. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80453 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/AsmParser/LLParser.cpp b/lib/AsmParser/LLParser.cpp index 784672a..4f7a440 100644 --- a/lib/AsmParser/LLParser.cpp +++ b/lib/AsmParser/LLParser.cpp
@@ -2501,7 +2501,7 @@ } } - } 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