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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14634 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Reid Spencer 2004-07-06 01:30:36 +00:00
parent 51f31e07f6
commit ba466362c4
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(); }