From: Chris Lattner Date: Fri, 4 May 2007 03:50:29 +0000 (+0000) Subject: fix a misplaced error X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=35a0470e0229c9a15a4c0d3af8d6c6564d81bd7d;p=oota-llvm.git fix a misplaced error git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36736 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Bitcode/Reader/BitcodeReader.cpp b/lib/Bitcode/Reader/BitcodeReader.cpp index c0487d50473..f546bb4891b 100644 --- a/lib/Bitcode/Reader/BitcodeReader.cpp +++ b/lib/Bitcode/Reader/BitcodeReader.cpp @@ -1508,8 +1508,8 @@ bool BitcodeReader::ParseFunctionBody(Function *F) { delete A; } } + return Error("Never resolved value found in function!"); } - return Error("Never resolved value found in function!"); } // Trim the value list down to the size it was before we parsed this function.