fix a misplaced error
authorChris Lattner <sabre@nondot.org>
Fri, 4 May 2007 03:50:29 +0000 (03:50 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 4 May 2007 03:50:29 +0000 (03:50 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36736 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Bitcode/Reader/BitcodeReader.cpp

index c0487d50473939f8e64feebc77c0857a7280d276..f546bb4891ba58aca68e5f4ad1c87358cc632843 100644 (file)
@@ -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.