[llvm-commits] CVS: llvm/lib/Bytecode/Reader/Reader.cpp Reader.h
Anton Korobeynikov
asl at math.spbu.ru
Fri Sep 1 13:35:36 PDT 2006
Changes in directory llvm/lib/Bytecode/Reader:
Reader.cpp updated: 1.196 -> 1.197
Reader.h updated: 1.32 -> 1.33
---
Log message:
- Fixed broken Win32 build
- Removed warning about clobbered parameter in Bytecode/Reader
---
Diffs of the changes: (+2 -2)
Reader.cpp | 2 +-
Reader.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
Index: llvm/lib/Bytecode/Reader/Reader.cpp
diff -u llvm/lib/Bytecode/Reader/Reader.cpp:1.196 llvm/lib/Bytecode/Reader/Reader.cpp:1.197
--- llvm/lib/Bytecode/Reader/Reader.cpp:1.196 Fri Aug 25 14:54:53 2006
+++ llvm/lib/Bytecode/Reader/Reader.cpp Fri Sep 1 15:35:17 2006
@@ -2409,7 +2409,7 @@
/// This function completely parses a bytecode buffer given by the \p Buf
/// and \p Length parameters.
-bool BytecodeReader::ParseBytecode(BufPtr Buf, unsigned Length,
+bool BytecodeReader::ParseBytecode(volatile BufPtr Buf, unsigned Length,
const std::string &ModuleID,
std::string* ErrMsg) {
Index: llvm/lib/Bytecode/Reader/Reader.h
diff -u llvm/lib/Bytecode/Reader/Reader.h:1.32 llvm/lib/Bytecode/Reader/Reader.h:1.33
--- llvm/lib/Bytecode/Reader/Reader.h:1.32 Fri Aug 25 14:54:53 2006
+++ llvm/lib/Bytecode/Reader/Reader.h Fri Sep 1 15:35:17 2006
@@ -140,7 +140,7 @@
/// @returns true if an error occurred
/// @brief Main interface to parsing a bytecode buffer.
bool ParseBytecode(
- const unsigned char *Buf, ///< Beginning of the bytecode buffer
+ volatile BufPtr Buf, ///< Beginning of the bytecode buffer
unsigned Length, ///< Length of the bytecode buffer
const std::string &ModuleID, ///< An identifier for the module constructed.
std::string* ErrMsg = 0 ///< Optional place for error message
More information about the llvm-commits
mailing list