unbreak previous checkin :(
authorChris Lattner <sabre@nondot.org>
Thu, 14 Oct 2004 02:06:48 +0000 (02:06 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 14 Oct 2004 02:06:48 +0000 (02:06 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16966 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Bytecode/Writer/Writer.cpp

index 605e5121f2921b62cdf1a08d432c88a6e3ab264e..ce6d08a5c03699ed4b5be47f7577c062858c0699 100644 (file)
@@ -1099,7 +1099,7 @@ void llvm::WriteBytecodeToFile(const Module *M, std::ostream &Out) {
   // chunks, until we're done.
   //
   for (std::vector<unsigned char>::const_iterator I = Buffer.begin(),
-         E = Buffer.end(); I != E; ++I) {
+         E = Buffer.end(); I != E; ) {
     // Scan to see how big this chunk is...
     const unsigned char *ChunkPtr = &*I;
     const unsigned char *LastPtr = ChunkPtr;