Remove definition and use of OtherVal enumerator. This just fixes a thinko.

llvm-svn: 14634
This commit is contained in:
Reid Spencer 2004-07-06 01:30:36 +00:00
parent e2f97b3464
commit 987e503e2e
2 changed files with 1 additions and 2 deletions

View File

@ -127,7 +127,6 @@ public:
GlobalVariableVal, // This is an instance of GlobalVariable
ConstantVal, // This is an instance of Constant
InstructionVal, // This is an instance of Instruction
OtherVal, // This is an instance of something else
};
unsigned getValueType() const {
return SubclassID;

View File

@ -72,7 +72,7 @@ public:
/// globals section.
/// @brief A list of values as a User of those Values.
struct ValueList : public User {
ValueList() : User(Type::VoidTy, Value::OtherVal) {}
ValueList() : User(Type::VoidTy, Value::FunctionVal) {}
// vector compatibility methods
unsigned size() const { return getNumOperands(); }