mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-10-20 09:24:58 +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
|
GlobalVariableVal, // This is an instance of GlobalVariable
|
||||||
ConstantVal, // This is an instance of Constant
|
ConstantVal, // This is an instance of Constant
|
||||||
InstructionVal, // This is an instance of Instruction
|
InstructionVal, // This is an instance of Instruction
|
||||||
OtherVal, // This is an instance of something else
|
|
||||||
};
|
};
|
||||||
unsigned getValueType() const {
|
unsigned getValueType() const {
|
||||||
return SubclassID;
|
return SubclassID;
|
||||||
|
@ -72,7 +72,7 @@ public:
|
|||||||
/// globals section.
|
/// globals section.
|
||||||
/// @brief A list of values as a User of those Values.
|
/// @brief A list of values as a User of those Values.
|
||||||
struct ValueList : public User {
|
struct ValueList : public User {
|
||||||
ValueList() : User(Type::VoidTy, Value::OtherVal) {}
|
ValueList() : User(Type::VoidTy, Value::FunctionVal) {}
|
||||||
|
|
||||||
// vector compatibility methods
|
// vector compatibility methods
|
||||||
unsigned size() const { return getNumOperands(); }
|
unsigned size() const { return getNumOperands(); }
|
||||||
|
Loading…
Reference in New Issue
Block a user