commit | f928ad4af07aaac5e7e81757dcd514acbb5cb39c | [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 | 3d9354c841746f1802babcd465e542d7a7ea2a10 [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