forked from OSchip/llvm-project
Remove definition and use of OtherVal enumerator. This just fixes a thinko.
llvm-svn: 14634
This commit is contained in:
parent
e2f97b3464
commit
987e503e2e
|
@ -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;
|
||||
|
|
|
@ -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(); }
|
||||
|
|
Loading…
Reference in New Issue