[llvm-commits] [llvm] r80453 - /llvm/trunk/lib/AsmParser/LLParser.cpp

Dan Gohman gohman at apple.com
Sat Aug 29 16:37:51 PDT 2009


Author: djg
Date: Sat Aug 29 18:37:49 2009
New Revision: 80453

URL: http://llvm.org/viewvc/llvm-project?rev=80453&view=rev
Log:
Minor logic simplification.

Modified:
    llvm/trunk/lib/AsmParser/LLParser.cpp

Modified: llvm/trunk/lib/AsmParser/LLParser.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/AsmParser/LLParser.cpp?rev=80453&r1=80452&r2=80453&view=diff

==============================================================================
--- llvm/trunk/lib/AsmParser/LLParser.cpp (original)
+++ llvm/trunk/lib/AsmParser/LLParser.cpp Sat Aug 29 18:37:49 2009
@@ -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





More information about the llvm-commits mailing list