[llvm-commits] CVS: llvm/lib/Bytecode/Reader/Reader.cpp
Chris Lattner
lattner at cs.uiuc.edu
Tue Nov 30 08:58:33 PST 2004
Changes in directory llvm/lib/Bytecode/Reader:
Reader.cpp updated: 1.143 -> 1.144
---
Log message:
RevisionNum is read by error(), initialize it early.
---
Diffs of the changes: (+1 -0)
Index: llvm/lib/Bytecode/Reader/Reader.cpp
diff -u llvm/lib/Bytecode/Reader/Reader.cpp:1.143 llvm/lib/Bytecode/Reader/Reader.cpp:1.144
--- llvm/lib/Bytecode/Reader/Reader.cpp:1.143 Fri Nov 19 10:24:05 2004
+++ llvm/lib/Bytecode/Reader/Reader.cpp Tue Nov 30 10:58:18 2004
@@ -2166,6 +2166,7 @@
const std::string &ModuleID) {
try {
+ RevisionNum = 0;
At = MemStart = BlockStart = Buf;
MemEnd = BlockEnd = Buf + Length;
More information about the llvm-commits
mailing list