mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-18 18:32:32 +00:00
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:
parent
51f31e07f6
commit
ba466362c4
@ -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…
x
Reference in New Issue
Block a user