[llvm-commits] CVS: llvm/lib/Bytecode/Reader/Reader.h
LLVM
llvm at cs.uiuc.edu
Sat Jul 17 17:13:22 PDT 2004
Changes in directory llvm/lib/Bytecode/Reader:
Reader.h updated: 1.6 -> 1.7
---
Log message:
User ValueListTy as the type of the ValueList. This avoides the ValueList
from being treated like a Function which can cause the contents of the list
to be come invalidated.
---
Diffs of the changes: (+1 -1)
Index: llvm/lib/Bytecode/Reader/Reader.h
diff -u llvm/lib/Bytecode/Reader/Reader.h:1.6 llvm/lib/Bytecode/Reader/Reader.h:1.7
--- llvm/lib/Bytecode/Reader/Reader.h:1.6 Sun Jul 11 12:24:05 2004
+++ llvm/lib/Bytecode/Reader/Reader.h Sat Jul 17 19:13:12 2004
@@ -72,7 +72,7 @@
/// globals section.
/// @brief A list of values as a User of those Values.
struct ValueList : public User {
- ValueList() : User(Type::VoidTy, Value::FunctionVal) {}
+ ValueList() : User(Type::VoidTy, Value::ValueListVal) {}
// vector compatibility methods
unsigned size() const { return getNumOperands(); }
More information about the llvm-commits
mailing list