[llvm-commits] CVS: llvm/lib/Bitcode/Reader/BitcodeReader.cpp

Chris Lattner sabre at nondot.org
Thu May 3 20:50:47 PDT 2007



Changes in directory llvm/lib/Bitcode/Reader:

BitcodeReader.cpp updated: 1.34 -> 1.35
---
Log message:

fix a misplaced error


---
Diffs of the changes:  (+1 -1)

 BitcodeReader.cpp |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff -u llvm/lib/Bitcode/Reader/BitcodeReader.cpp:1.34 llvm/lib/Bitcode/Reader/BitcodeReader.cpp:1.35
--- llvm/lib/Bitcode/Reader/BitcodeReader.cpp:1.34	Thu May  3 22:41:34 2007
+++ llvm/lib/Bitcode/Reader/BitcodeReader.cpp	Thu May  3 22:50:29 2007
@@ -1508,8 +1508,8 @@
           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.






More information about the llvm-commits mailing list