aboutsummaryrefslogtreecommitdiff
path: root/lib/Bytecode/Writer
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Bytecode/Writer')
-rw-r--r--lib/Bytecode/Writer/Writer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Bytecode/Writer/Writer.cpp b/lib/Bytecode/Writer/Writer.cpp
index 605e5121f2..ce6d08a5c0 100644
--- a/lib/Bytecode/Writer/Writer.cpp
+++ b/lib/Bytecode/Writer/Writer.cpp
@@ -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;