aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2004-07-06 01:30:36 +0000
committerReid Spencer <rspencer@reidspencer.com>2004-07-06 01:30:36 +0000
commitba466362c4b82a0a52bb5d877c439b759d86eee0 (patch)
tree8ef96002d14af2df06a6cb7607127bd7e0ac33f7
parent51f31e07f636003388cdac5299ac82ce63c6be15 (diff)
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
-rw-r--r--include/llvm/Value.h1
-rw-r--r--lib/Bytecode/Reader/Reader.h2
2 files changed, 1 insertions, 2 deletions
diff --git a/include/llvm/Value.h b/include/llvm/Value.h
index 91d89129c9..66dffcbda9 100644
--- a/include/llvm/Value.h
+++ b/include/llvm/Value.h
@@ -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;
diff --git a/lib/Bytecode/Reader/Reader.h b/lib/Bytecode/Reader/Reader.h
index 4720e88a3c..843364ac9f 100644
--- a/lib/Bytecode/Reader/Reader.h
+++ b/lib/Bytecode/Reader/Reader.h
@@ -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(); }